summaryrefslogtreecommitdiff
path: root/app/struct.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/struct.go')
-rw-r--r--app/struct.go14
1 files changed, 8 insertions, 6 deletions
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