aboutsummaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'http.go')
-rw-r--r--http.go28
1 files changed, 0 insertions, 28 deletions
diff --git a/http.go b/http.go
deleted file mode 100644
index 7b79aca..0000000
--- a/http.go
+++ /dev/null
@@ -1,28 +0,0 @@
-package sleepy
-
-import (
- "net/url"
-)
-
-type (
- GetNotSupported struct{}
- PostNotSupported struct{}
- PutNotSupported struct{}
- DeleteNotSupported struct{}
-)
-
-func (GetNotSupported) Get(values url.Values) (int, interface{}) {
- return 405, ""
-}
-
-func (PostNotSupported) Post(values url.Values) (int, interface{}) {
- return 405, ""
-}
-
-func (PutNotSupported) Put(values url.Values) (int, interface{}) {
- return 405, ""
-}
-
-func (DeleteNotSupported) Delete(values url.Values) (int, interface{}) {
- return 405, ""
-}
bgstack15