Documentation
¶
Index ¶
Constants ¶
View Source
const ( // StaleThreshold is how long since last_seen before a service is considered offline. StaleThreshold = 2 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker polls registered services for health status.
func NewChecker ¶
NewChecker creates a health checker.
Click to show internal directories.
Click to hide internal directories.