mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-25 01:13:40 +01:00
12 lines
330 B
Go
12 lines
330 B
Go
package core
|
|
|
|
// HealthStatus is the status of Gatus
|
|
type HealthStatus struct {
|
|
// Status is the state of Gatus (UP/DOWN)
|
|
Status string `json:"status"`
|
|
|
|
// Message is an accompanying description of why the status is as reported.
|
|
// If the Status is UP, no message will be provided
|
|
Message string `json:"message,omitempty"`
|
|
}
|