Files
gatus/main.go
T

15 lines
287 B
Go
Raw Normal View History

2019-09-04 19:37:13 -04:00
package main
import (
"fmt"
2019-09-06 00:01:48 -04:00
"github.com/TwinProduction/gatus/config"
2019-09-04 19:37:13 -04:00
)
func main() {
2019-09-06 20:25:31 -04:00
for _, service := range config.Get().Services {
result := service.EvaluateConditions()
for _, conditionResult := range result.ConditionResult {
fmt.Printf("%v\n", *conditionResult)
}
}
2019-09-04 19:37:13 -04:00
}