diff options
| author | Horus3 | 2015-02-19 16:55:23 +0100 |
|---|---|---|
| committer | Horus3 | 2015-02-19 16:55:23 +0100 |
| commit | 9fd1b6a54c77f78df1031a620fe3fb3887eda56d (patch) | |
| tree | a22686f2eac23c7a47e9ccd9aa3962aa80a5bf64 /app/struct.go | |
| parent | 5da13e75c013688f4fda1e57a5b3968332caa760 (diff) | |
| download | statuspage-9fd1b6a54c77f78df1031a620fe3fb3887eda56d.tar.gz | |
Add health check.
Diffstat (limited to 'app/struct.go')
| -rw-r--r-- | app/struct.go | 14 |
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 |
