aboutsummaryrefslogtreecommitdiff
path: root/http.go
blob: 712a0801275f0b1533441b723df5dec6b8b95fc8 (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
25
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."
}

bgstack15