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

doc: Added code snippet for dialing via SSL. #139

Closed
wants to merge 1 commit into from

Conversation

ReeseWang
Copy link

Sorry for my incompetence, but I spent hours debugging "no reachable servers" error only to find that I should have connected via SSL but no one told me. So I decided to add something to the doc.

@domodwyer
Copy link

Hi @ReeseWang

Thanks for the PR - I'll add a commit with your code as an example as I think it's covered by tests that way.

Dom

@domodwyer domodwyer closed this Apr 6, 2018
@tbruyelle
Copy link

tbruyelle commented Jun 5, 2018

IMO mgo should handle the ssl=<true|false> query param and setup the DialServer accordingly.

What do you think ?

@domodwyer
Copy link

Hi @tbruyelle

No objection to having ssl dial string support! Always happy to receive a PR :)

Dom

@tbruyelle
Copy link

Thx @domodwyer I've just submitted a PR

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