summaryrefslogtreecommitdiff
path: root/app/struct.go
diff options
context:
space:
mode:
authorHorus32015-02-19 16:55:23 +0100
committerHorus32015-02-19 16:55:23 +0100
commit9fd1b6a54c77f78df1031a620fe3fb3887eda56d (patch)
treea22686f2eac23c7a47e9ccd9aa3962aa80a5bf64 /app/struct.go
parent5da13e75c013688f4fda1e57a5b3968332caa760 (diff)
downloadstatuspage-9fd1b6a54c77f78df1031a620fe3fb3887eda56d.tar.gz
Add health check.
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