Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // GetCertificate is retrieving a certificate from the manager GetCertificate(hello *tls.ClientHelloInfo) (*tls.Certificate, error) // ServeHTTP is serving the autocert handler ServeHTTP(fallback http.Handler, w http.ResponseWriter, r *http.Request) // TLSConfig exposes the tls config TLSConfig() *tls.Config // Cache Cache() cache.Cache }
Manager is an interface to manage certificates
Click to show internal directories.
Click to hide internal directories.