Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertManager ¶
type CertManager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(certPath, keyPath string) (*CertManager, error)
NewManager refreshes certificates before they expire
func (*CertManager) GetCertificateFunc ¶
func (m *CertManager) GetCertificateFunc() func(*tls.ClientHelloInfo) (*tls.Certificate, error)
Click to show internal directories.
Click to hide internal directories.