summaryrefslogtreecommitdiff
path: root/app/struct.go
diff options
context:
space:
mode:
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