mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-25 01:13:40 +01:00
11 lines
260 B
Go
11 lines
260 B
Go
|
package core
|
||
|
|
||
|
// ConditionResult result of a Condition
|
||
|
type ConditionResult struct {
|
||
|
// Condition that was evaluated
|
||
|
Condition string `json:"condition"`
|
||
|
|
||
|
// Success whether the condition was met (successful) or not (failed)
|
||
|
Success bool `json:"success"`
|
||
|
}
|