Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultStatus = Status{ Available: StatusAvailable{ State: true, }, Failed: StatusFailed{ State: false, }, Paused: StatusPaused{ State: false, }, Stable: StatusStable{ State: true, }, }
View Source
var NoneReported = Status{ Available: StatusAvailable{ State: false, Message: "No availability reported", }, Failed: StatusFailed{ State: false, }, Paused: StatusPaused{ State: false, }, Stable: StatusStable{ State: false, Message: "No status reported yet", }, }
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status struct { Available StatusAvailable `json:"available"` Failed StatusFailed `json:"failed"` Paused StatusPaused `json:"paused"` Stable StatusStable `json:"stable"` }
type StatusAvailable ¶
type StatusFailed ¶
type StatusPaused ¶
type StatusStable ¶
Click to show internal directories.
Click to hide internal directories.