Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeartbeatState ¶
type HeartbeatState string
HeartbeatState represents the internal state of a heartbeat actor.
const ( HeartbeatStateIdle HeartbeatState = "idle" // Idle is the heartbeat initial state. HeartbeatStateActive HeartbeatState = "active" // Active is the heartbeat active state. HeartbeatStateGrace HeartbeatState = "grace" // Grace is the heartbeat grace state. HeartbeatStateMissing HeartbeatState = "missing" // Missing is the heartbeat missing state. HeartbeatStateFailed HeartbeatState = "failed" // Failed is the heartbeat failed state. HeartbeatStateRecovered HeartbeatState = "recovered" // Recovered is the heartbeat recovered state. Only used for sending "resolved" messages. )
func (HeartbeatState) String ¶
func (h HeartbeatState) String() string
String returns the HeartbeatState as string.
Click to show internal directories.
Click to hide internal directories.