aboutsummaryrefslogtreecommitdiff
path: root/forged/internal/incoming/web/handlers/not_implemented.go
diff options
context:
space:
mode:
Diffstat (limited to 'forged/internal/incoming/web/handlers/not_implemented.go')
-rw-r--r--forged/internal/incoming/web/handlers/not_implemented.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/forged/internal/incoming/web/handlers/not_implemented.go b/forged/internal/incoming/web/handlers/not_implemented.go
new file mode 100644
index 0000000..472f73b
--- /dev/null
+++ b/forged/internal/incoming/web/handlers/not_implemented.go
@@ -0,0 +1,15 @@
+package handlers
+
+import (
+ "net/http"
+
+ wtypes "go.lindenii.runxiyu.org/forge/forged/internal/incoming/web/types"
+)
+
+type NotImplementedHTTP struct{}
+
+func NewNotImplementedHTTP() *NotImplementedHTTP { return &NotImplementedHTTP{} }
+
+func (h *NotImplementedHTTP) Handle(w http.ResponseWriter, _ *http.Request, _ wtypes.Vars) {
+ http.Error(w, "not implemented", http.StatusNotImplemented)
+}