summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/buthd/main.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/cmd/buthd/main.go b/cmd/buthd/main.go
deleted file mode 100644
index 60ab749..0000000
--- a/cmd/buthd/main.go
+++ /dev/null
@@ -1,16 +0,0 @@
-// Buthd is the API server.
-package main
-
-import (
- "fmt"
- "html"
- "log"
- "net/http"
-)
-
-func main() {
- http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
- fmt.Fprintf(w, "Hello, %q", html.EscapeString(r.URL.Path))
- })
- log.Fatal(http.ListenAndServe(":8081", nil))
-}