-
Notifications
You must be signed in to change notification settings - Fork 228
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
How to deal with https? #40
Comments
Hi, There's two options:
i.e. (and excuse the formatting, on my phone) func main() {
}
Let me know if you need anything clarified. On Thursday, July 3, 2014, godoc notifications@github.com wrote:
|
thanks |
@elithrar
|
Are you providing a certificate and key file? Wrap graceful.ListenAndServeTLS in a log.Fatal - log.Fatal(graceful.ListenAndServeTLS) This should show the error if the server exits prematurely. On Thursday, July 3, 2014, godoc notifications@github.com wrote:
|
@elithrar thanks for you answer, the code is ok, I forget generate certificate file, sorry |
have some code example?
The text was updated successfully, but these errors were encountered: