From 1d1f6d4fd023e0f9b9851aff259a0b9f022ed13f Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Wed, 9 Jun 2021 17:55:50 -0400 Subject: Add a nag option ( RenotifyInterval ) --- cmd/main/http.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/main/http.go') diff --git a/cmd/main/http.go b/cmd/main/http.go index fd6169e..8eb4990 100644 --- a/cmd/main/http.go +++ b/cmd/main/http.go @@ -3,6 +3,7 @@ package main import ( "bytes" "fmt" + "time" "riedstra.dev/go/checkup" ) @@ -22,6 +23,7 @@ func httpStatusWorker(jobs <-chan httpCheck, msg chan<- *jobResponse, timeout in Id: hc.URL + "->" + string(hc.Code), Message: s, Err: err, + Time: time.Now(), } continue } -- cgit v1.2.3