summaryrefslogtreecommitdiff
path: root/app/struct.go
diff options
context:
space:
mode:
authorHorus32015-02-21 14:50:00 +0100
committerHorus32015-02-21 14:50:00 +0100
commitb58e21a525e7e4aeda3ec51bfcb07390af8be465 (patch)
tree9974d885ae2c81052e881e00207677e80d9f6fc7 /app/struct.go
parentc92989a8fc738094b205094a1bdd458a40c23d9c (diff)
downloadstatuspage-b58e21a525e7e4aeda3ec51bfcb07390af8be465.tar.gz
Index page is now cached.
Diffstat (limited to 'app/struct.go')
-rw-r--r--app/struct.go7
1 files changed, 3 insertions, 4 deletions
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