gatus/main.go
2019-09-06 20:25:31 -04:00

16 lines
287 B
Go

package main
import (
"fmt"
"github.com/TwinProduction/gatus/config"
)
func main() {
for _, service := range config.Get().Services {
result := service.EvaluateConditions()
for _, conditionResult := range result.ConditionResult {
fmt.Printf("%v\n", *conditionResult)
}
}
}