Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Infof(string, ...interface{}) Debugf(string, ...interface{}) Errorf(string, ...interface{}) }
Logger is an interface that wraps the basic logger methods.
type Watcher ¶
type Watcher struct { CertFile string KeyFile string Log Logger // contains filtered or unexported fields }
Watcher represents a certificate manager able to watch certificate and key pairs for changes.
func (*Watcher) Stop ¶
func (w *Watcher) Stop()
Stop tells Watcher to stop watching for changes to the certificate and key files.
Click to show internal directories.
Click to hide internal directories.