From b58e21a525e7e4aeda3ec51bfcb07390af8be465 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Sat, 21 Feb 2015 14:50:00 +0100 Subject: Index page is now cached. --- app/struct.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'app/struct.go') diff --git a/app/struct.go b/app/struct.go index d7135aa..37704d7 100644 --- a/app/struct.go +++ b/app/struct.go @@ -7,20 +7,19 @@ import ( /* Maybe worth saving uptime history? */ type Host struct { - Id int64 - UserId int64 - Url string + Id int64 + Url string // Protocoll string // e.g. http Monitored bool // disable monitoring on error Private bool Status string StatusCode int64 Success bool + Reason string // Connection failure /* Date time.Time Include string // Website must include this string Except string // Website must not include this string - Reason string // Include, Exclude, Connection failure Alert bool // True to send alert on failure */ CreatedAt time.Time -- cgit v1.2.3