Add watchdog package

This commit is contained in:
TwinProduction
2019-09-04 19:37:13 -04:00
parent f84f84086d
commit b753443516
13 changed files with 225 additions and 0 deletions

14
main.go Normal file
View File

@ -0,0 +1,14 @@
package main
import (
"fmt"
"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)
}