gatus/core/condition_result.go
2021-07-02 20:04:05 -04: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"`
}