Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Health ¶
type Health struct {
// contains filtered or unexported fields
}
Health represents the state info of service
func (*Health) GetChan ¶
func (h *Health) GetChan() chan<- ServiceState
GetChan returns a write-only channel that you can pass new state to it
type ServiceState ¶
type ServiceState string
ServiceState represents the state of service
const ( // ServiceStateOK represents the state of service that is OK ServiceStateOK ServiceState = "OK" // ServiceStateBusy represents the state of service that is Busy ServiceStateBusy ServiceState = "Busy" // ServiceStateIdling represents the state of service that is Idle ServiceStateIdling ServiceState = "Idle" ServiceStateUnavailable ServiceState = "Unavailable" )
Click to show internal directories.
Click to hide internal directories.