Add watchdog package

This commit is contained in:
TwinProduction committed 2019-09-04 19:37:13 -04:00
1 parent f84f84086d
commit b753443516
13 files changed
+225

No files matched your search

+14
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)
}