summaryrefslogtreecommitdiff
path: root/app/struct.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/struct.go')
-rw-r--r--app/struct.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/struct.go b/app/struct.go
index 15c238f..d7135aa 100644
--- a/app/struct.go
+++ b/app/struct.go
@@ -7,17 +7,17 @@ import (
/* Maybe worth saving uptime history? */
type Host struct {
- Id int64
- UserId int64
- Url string
- Protocoll string // e.g. http
- Monitored bool // disable monitoring on error
+ Id int64
+ UserId int64
+ Url string
+ // Protocoll string // e.g. http
+ Monitored bool // disable monitoring on error
Private bool
Status string
StatusCode int64
+ Success bool
/*
Date time.Time
- Success bool
Include string // Website must include this string
Except string // Website must not include this string
Reason string // Include, Exclude, Connection failure