Documentation ¶
Overview ¶
Package ticker implements the Certinel interface by polling the filesystem at a regular interval. This provides a reasonable alternative for environments not supported by the fsnotify package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sentinel ¶
type Sentinel struct {
// contains filtered or unexported fields
}
Sentinel polls the filesystem for changed certificates.
func (*Sentinel) GetCertificate ¶
func (w *Sentinel) GetCertificate(chi *tls.ClientHelloInfo) (*tls.Certificate, error)
func (*Sentinel) GetClientCertificate ¶
func (w *Sentinel) GetClientCertificate(cri *tls.CertificateRequestInfo) (*tls.Certificate, error)
Click to show internal directories.
Click to hide internal directories.