Start working on #13: Service groups
This commit is contained in:
10
core/condition-result.go
Normal file
10
core/condition-result.go
Normal file
@ -0,0 +1,10 @@
|
||||
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"`
|
||||
}
|
Reference in New Issue
Block a user