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/test.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/test.go')
| -rw-r--r-- | app/test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/test.go b/app/test.go new file mode 100644 index 0000000..0b56fae --- /dev/null +++ b/app/test.go @@ -0,0 +1,6 @@ +package main + +func insertHost() { + h := Host{Url: "https://mx.iamfabulous.de/", Monitored: true, Private: false} + Db.Create(&h) +} |
