aboutsummaryrefslogtreecommitdiff
path: root/http.go
blob: c02c12395516ea6634d7853134940af71d308290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package sleepy

type (
    GetNotSupported struct {}
    PostNotSupported struct {}
    PutNotSupported struct {}
    DeleteNotSupported struct {}
)

func (GetNotSupported) Get(map[string][]string) string {
	return "Nope."
}

func (PostNotSupported) Post(map[string][]string) string {
	return "Nope."
}

func (PutNotSupported) Put(map[string][]string) string {
	return "Nope."
}

func (DeleteNotSupported) Delete(map[string][]string) string {
	return "Nope."
}
bgstack15