by deskamess · 11y ago · 0 comments
And if you want to patch other frameworks or build your own: I have personally used Hyper (http-crate) with the OpenSSL crate to do Https before and I found it very easy.
I am looking for example code where I can pass in the server certificate prior to listening. Something similar in functionality to Go's http.ListenAndServeTLS(":443", "cert.pem", "key.pem", nil)
Edit: typo
Also, the Iron docs that another commenter pointed you at looks vaguely like that call. I'm not familiar with Go's API.