Documentation ¶
Overview ¶
Copyright 2016 Michael Stapelberg, BSD-3
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertSource ¶
type CertSource struct {
// contains filtered or unexported fields
}
func (*CertSource) AutoCheck ¶
func (kpr *CertSource) AutoCheck(sig os.Signal)
Automatically reload certificate on the provided signal
func (*CertSource) Check ¶
func (kpr *CertSource) Check() error
Check() can be called manually to reload the certificate
func (*CertSource) GetCertificateFunc ¶
func (kpr *CertSource) GetCertificateFunc() func(*tls.ClientHelloInfo) (*tls.Certificate, error)
Returns a tls.Config.GetCertificate function.
Click to show internal directories.
Click to hide internal directories.