Files
gatus/main.go
T

17 lines
340 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
"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)
2019-09-06 00:01:48 -04:00
fmt.Println(config.Get())
2019-09-04 19:37:13 -04:00
}