Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial client #4

Merged
merged 1 commit into from
Aug 21, 2020
Merged

Initial client #4

merged 1 commit into from
Aug 21, 2020

Conversation

haiodo
Copy link
Contributor

@haiodo haiodo commented Aug 17, 2020

Initial client and environment variables to use.
Signed-off-by: Andrey Sobolev haiodo@gmail.com

@haiodo haiodo requested a review from denis-tingaikin August 17, 2020 16:09
Copy link
Member

@denis-tingaikin denis-tingaikin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a few comments, will look more detailed later.

.go-header.yaml Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
pkg/config/config.go Outdated Show resolved Hide resolved
pkg/config/config.go Show resolved Hide resolved
pkg/config/config.go Outdated Show resolved Hide resolved
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
@denis-tingaikin denis-tingaikin merged commit ee1542e into networkservicemesh:master Aug 21, 2020
func main() {
// ********************************************************************************
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this style of comment... it provides good visual blocking.

}

// NewNSMClient - creates a client connection to NSMGr
func NewNSMClient(ctx context.Context, rootConf *config.Config) networkservice.NetworkServiceClient {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like NewNSMClient being here in main.go ... it makes it easy to see in one place what you are doing, but breaks things up nicely. It’s a good compromise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants