aboutsummaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorDoug Black <dblack@twilio.com>2014-01-27 10:48:55 -0500
committerDoug Black <dblack@twilio.com>2014-01-27 10:48:55 -0500
commitf0096b9bcb3824acfdc8b8bb729d51eb9d8d75e8 (patch)
treec06915262978dea1bb3a5898c5260373ea5d7823 /http.go
parentuse ServeMux, capitalize API, clean tests (diff)
parentremove the need to provide “missing/unsupported” implementations in the (diff)
downloadsleepy-f0096b9bcb3824acfdc8b8bb729d51eb9d8d75e8.tar.gz
sleepy-f0096b9bcb3824acfdc8b8bb729d51eb9d8d75e8.tar.bz2
sleepy-f0096b9bcb3824acfdc8b8bb729d51eb9d8d75e8.zip
merge #6
Diffstat (limited to 'http.go')
-rw-r--r--http.go23
1 files changed, 0 insertions, 23 deletions
diff --git a/http.go b/http.go
deleted file mode 100644
index 8efe657..0000000
--- a/http.go
+++ /dev/null
@@ -1,23 +0,0 @@
-package sleepy
-
-import (
- "net/url"
-)
-
-type BaseResource struct{}
-
-func (BaseResource) Get(values url.Values) (int, interface{}) {
- return 405, ""
-}
-
-func (BaseResource) Post(values url.Values) (int, interface{}) {
- return 405, ""
-}
-
-func (BaseResource) Put(values url.Values) (int, interface{}) {
- return 405, ""
-}
-
-func (BaseResource) Delete(values url.Values) (int, interface{}) {
- return 405, ""
-}
bgstack15