summaryrefslogtreecommitdiff
path: root/app/test.go
diff options
context:
space:
mode:
authorHorus_Arch2015-02-20 20:40:51 +0100
committerHorus_Arch2015-02-20 20:40:51 +0100
commita8d9e02831d4b01e47f24a30144b5522c03b2b8c (patch)
treef396994bbe050d14db73048572481d63f175d750 /app/test.go
parentffe1b892b4c01c40215a1b8b5697fc35b81186b5 (diff)
downloadstatuspage-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.go6
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)
+}