mirror of
https://github.com/Luzifer/mondash.git
synced 2024-12-22 20:11:18 +00:00
Fix: Use type Status instead of string
This commit is contained in:
parent
3210519660
commit
8e93466add
1 changed files with 4 additions and 4 deletions
|
@ -17,10 +17,10 @@ type Status string
|
||||||
|
|
||||||
// Collection of available status strings
|
// Collection of available status strings
|
||||||
const (
|
const (
|
||||||
StatusOK = "OK"
|
StatusOK Status = "OK"
|
||||||
StatusWarning = "Warning"
|
StatusWarning = "Warning"
|
||||||
StatusCritical = "Critical"
|
StatusCritical = "Critical"
|
||||||
StatusUnknown = "Unknown"
|
StatusUnknown = "Unknown"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Client represents an accessor to the MonDash API
|
// Client represents an accessor to the MonDash API
|
||||||
|
|
Loading…
Reference in a new issue