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

add tls and basic auth support #318

Merged
merged 2 commits into from
Jul 1, 2020
Merged

add tls and basic auth support #318

merged 2 commits into from
Jul 1, 2020

Conversation

lmtyler
Copy link
Contributor

@lmtyler lmtyler commented Jul 1, 2020

No description provided.

Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution!
I think that you could make use of RootCAs(), but if not, then you have some code style (comparison to bool constant) that clashes with staticcheck tooling.
Also I would recommend that you change the flag.StringVar() to flag.String() to be consistent with the existing code.

examples/stan-bench/main.go Outdated Show resolved Hide resolved
examples/stan-bench/main.go Outdated Show resolved Hide resolved
examples/stan-bench/main.go Outdated Show resolved Hide resolved
examples/stan-bench/main.go Outdated Show resolved Hide resolved
@lmtyler
Copy link
Contributor Author

lmtyler commented Jul 1, 2020

Missed nats.RootCAs
made other requested changes

@lmtyler lmtyler requested a review from kozlovic July 1, 2020 18:23
Copy link
Member

@kozlovic kozlovic left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for your contribution!

@kozlovic kozlovic merged commit c3d6842 into nats-io:master Jul 1, 2020
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 93.342% when pulling ecd8e00 on lmtyler:master into 5506c5c on nats-io:master.

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.

None yet

3 participants