mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-22 23:02:22 +01:00
16 lines
287 B
Go
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)
|
|
}
|
|
}
|
|
}
|