Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceStatusReporter ¶
type ServiceStatusReporter interface {
Ready() // service is up
NotReady() // temporary outage; expecting recovery
Dead() // service is down
}
type StatusReporter ¶
type StatusReporter interface {
GetServiceReporter(serviceName string) (ServiceStatusReporter, error)
IsReady() bool
IsAlive() bool
}
func New ¶
func New() StatusReporter
Click to show internal directories.
Click to hide internal directories.