gatus/main.go
2019-09-06 00:01:48 -04:00

18 lines
340 B
Go

package main
import (
"fmt"
"github.com/TwinProduction/gatus/config"
"github.com/TwinProduction/gatus/watchdog"
)
func main() {
request := watchdog.Request{Url: "https://twinnation.org/actuator/health"}
result := &watchdog.Result{}
request.GetIp(result)
request.GetStatus(result)
fmt.Println(result)
fmt.Println(config.Get())
}