diff options
author | Doug Black <dougblack@gatech.edu> | 2014-01-24 07:56:47 -0800 |
---|---|---|
committer | Doug Black <dougblack@gatech.edu> | 2014-01-24 07:56:47 -0800 |
commit | b77ada9a5a4ae049f2b5f3eff6ca7a66a154f49d (patch) | |
tree | 8ebad8046d0930f4942ddb1a14b1c279b232db90 /http.go | |
parent | go fmt (diff) | |
download | sleepy-b77ada9a5a4ae049f2b5f3eff6ca7a66a154f49d.tar.gz sleepy-b77ada9a5a4ae049f2b5f3eff6ca7a66a154f49d.tar.bz2 sleepy-b77ada9a5a4ae049f2b5f3eff6ca7a66a154f49d.zip |
reorg
Diffstat (limited to 'http.go')
-rw-r--r-- | http.go | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -0,0 +1,26 @@ +package sleepy + +type GetNotSupported struct{} + +func (GetNotSupported) Get(map[string][]string) string { + return "Nope." +} + +type PostNotSupported struct{} + +func (PostNotSupported) Post(map[string][]string) string { + return "Nope." +} + +type PutNotSupported struct{} + +func (PutNotSupported) Put(map[string][]string) string { + return "Nope." +} + +type DeleteNotSupported struct{} + +func (DeleteNotSupported) Delete(map[string][]string) string { + return "Nope." +} + |