Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrShutdownTimeout = errors.New("shutdown timeout")
ErrShutdownTimeout .
Functions ¶
This section is empty.
Types ¶
type Daemon ¶
type Daemon interface { Run(shutdownTimeout time.Duration) error RegisterShutdownFunc(f ...ShutdownFunc) RegisterHealthCheckFunc(f HealthCheckFunc) }
Daemon is a interface.
type WatcherConfig ¶
type WatcherConfig struct { Prefix string MainKey string Keys []string ApplyFunc ApplyConfigFunc }
WatcherConfig .
Click to show internal directories.
Click to hide internal directories.