Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthChecker ¶
type HealthChecker interface { Name() string Status() ServiceStatus }
type ServiceStatus ¶
type ServiceStatus string
const ( UP ServiceStatus = "up" DOWN ServiceStatus = "down" )
func (ServiceStatus) IsDown ¶
func (s ServiceStatus) IsDown() bool
func (ServiceStatus) ToString ¶
func (s ServiceStatus) ToString() string
Click to show internal directories.
Click to hide internal directories.