diff options
| author | Horus_Arch | 2015-02-20 20:40:51 +0100 |
|---|---|---|
| committer | Horus_Arch | 2015-02-20 20:40:51 +0100 |
| commit | a8d9e02831d4b01e47f24a30144b5522c03b2b8c (patch) | |
| tree | f396994bbe050d14db73048572481d63f175d750 /app/struct.go | |
| parent | ffe1b892b4c01c40215a1b8b5697fc35b81186b5 (diff) | |
| download | statuspage-a8d9e02831d4b01e47f24a30144b5522c03b2b8c.tar.gz | |
Config for ip and port. Health check updates now database and redis cache.
Diffstat (limited to 'app/struct.go')
| -rw-r--r-- | app/struct.go | 12 |
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 |
