diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-07-18 00:06:57 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-07-18 00:06:57 (GMT) |
commit | e9c3f339f4992e9474fc8f9f95ae5e1d21aeb6c5 (patch) | |
tree | 48726f818db905735609e488130ff1b69f84a2c9 /src | |
parent | 4bdae89134ad99c62a01d1ccd96addef3f53a079 (diff) |
fixed routing, added test for ntp
Diffstat (limited to 'src')
-rw-r--r-- | src/helsinki.at/rhrdtime/rhrdtime.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helsinki.at/rhrdtime/rhrdtime.go b/src/helsinki.at/rhrdtime/rhrdtime.go index 806e64e..af51902 100644 --- a/src/helsinki.at/rhrdtime/rhrdtime.go +++ b/src/helsinki.at/rhrdtime/rhrdtime.go @@ -180,9 +180,9 @@ func RunMartini(ps *pubsub.PubSub, addr string) { m.Get("/time", func(w http.ResponseWriter, r *http.Request) { handleTimeUpdateClient(w, r, ps) }) - // m.Get("/ntp", func(w http.ResponseWriter, r *http.Request) { - // handleTimeUpdateClient(w, r, ps) - // }) + m.Get("/ntp", func(w http.ResponseWriter, r *http.Request) { + handleNTPClient(w, r, ps) + }) m.RunOnAddr(addr) } |