From a8d9e02831d4b01e47f24a30144b5522c03b2b8c Mon Sep 17 00:00:00 2001 From: Horus_Arch Date: Fri, 20 Feb 2015 20:40:51 +0100 Subject: Config for ip and port. Health check updates now database and redis cache. --- app/test.go | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 app/test.go (limited to 'app/test.go') 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) +} -- cgit v1.2.3