Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeTLSWithController ¶
func ServeTLSWithController(ctx context.Context, log *slog.Logger, certProvider CertificateProvider, h http.Handler) error
ServeTLSWithController serves HTTPS using certificates provided by a controller
Types ¶
type CertificateProvider ¶
type CertificateProvider interface {
GetCertificate(hello *tls.ClientHelloInfo) (*tls.Certificate, error)
}
CertificateProvider provides certificates via GetCertificate callback
Click to show internal directories.
Click to hide internal directories.