gatus/core/condition-result.go
2020-11-26 18:09:01 -05:00

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"`
}