summaryrefslogtreecommitdiff
path: root/livewatch.go
diff options
context:
space:
mode:
Diffstat (limited to 'livewatch.go')
-rw-r--r--livewatch.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/livewatch.go b/livewatch.go
deleted file mode 100644
index 7a6c02c..0000000
--- a/livewatch.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package main
-
-import (
- "io"
- "net/http"
-)
-
-func init() {
- http.HandleFunc("/livewatch", liveWatch)
-}
-
-func liveWatch(w http.ResponseWriter, r *http.Request) {
- key := r.FormValue("key")
- if len(key) != 32 {
- key = "Ok"
- }
- io.WriteString(w, key)
-}