gatus/main.go

16 lines
287 B
Go
Raw Normal View History

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