summaryrefslogtreecommitdiffstats
path: root/cmd/buthd
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-03-07 18:33:37 -0500
committerSam Anthony <sam@samanthony.xyz>2026-03-07 18:33:37 -0500
commit79f55b0b233258623062db3c916783b4d14bf14a (patch)
tree09881b5482d2e61d29c8589f2cfabb757252f89b /cmd/buthd
parentade134e5e6aaf28dd65d87dc493d05253585559b (diff)
downloadbuth-79f55b0b233258623062db3c916783b4d14bf14a.zip
authfs: implement p9p.Session
Diffstat (limited to 'cmd/buthd')
-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))
-}