From 9fd1b6a54c77f78df1031a620fe3fb3887eda56d Mon Sep 17 00:00:00 2001 From: Horus3 Date: Thu, 19 Feb 2015 16:55:23 +0100 Subject: Add health check. --- app/struct.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'app/struct.go') diff --git a/app/struct.go b/app/struct.go index 26c462b..15c238f 100644 --- a/app/struct.go +++ b/app/struct.go @@ -7,12 +7,14 @@ import ( /* Maybe worth saving uptime history? */ type Host struct { - Id int64 - UserId int64 - Url string - Protocoll string // e.g. http - Private bool - Response int64 + Id int64 + UserId int64 + Url string + Protocoll string // e.g. http + Monitored bool // disable monitoring on error + Private bool + Status string + StatusCode int64 /* Date time.Time Success bool -- cgit v1.2.3