Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificates ¶
type Certificates struct { CertFile string KeyFile string Certificate *x509.Certificate Key *rsa.PrivateKey Intermediate *x509.Certificate }
Certificates is a representation of a certificate and a key
type SNIServer ¶ added in v1.9.0
type SNIServer struct {
// contains filtered or unexported fields
}
func (*SNIServer) ListenAndServeTLSSNI ¶ added in v1.9.0
func (s *SNIServer) ListenAndServeTLSSNI(srv *http.Server, certs []Certificates) error
ListenAndServeTLSSNI openes a http listener with SNI certificate selection from the Certificates collection
Click to show internal directories.
Click to hide internal directories.