gatus/core/condition-result.go

11 lines
260 B
Go
Raw Normal View History

2020-11-27 00:09:01 +01:00
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"`
}