Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check interface { // Name of the check Name() string // Description is the description of the check Description() string // Version of the monitor Version() string // Check the status of a service Perform() (Status, error) // Watch the status of a service continously Watch(update chan<- *ServiceStatus, stop <-chan bool, wg *sync.WaitGroup) error // Config is the configuration used for the monitor Config() MonitorConfiguration }
Check is a monitoring unit that checks a service
type MonitorConfiguration ¶
type MonitorConfiguration interface { // Validate validates the configuration Validate() []error }
MonitorConfiguration is a configuration for a monitor check
type ServiceStatus ¶
Click to show internal directories.
Click to hide internal directories.