View definition

func ListenAndServeTLS

Defined in github.com/fvbock/endless/endless.go

Description

ListenAndServeTLS acts identically to ListenAndServe, except that it expects HTTPS connections. Additionally, files containing a certificate and matching private key for the server must be provided. If the certificate is signed by a certificate authority, the certFile should be the concatenation of the server's certificate followed by the CA's certificate.

ListenAndServeTLS is referenced in 4 repositories

github.com/fvbock/endless github.com/appleboy/gorush github.com/jllopis/aloja

...