aboutsummaryrefslogtreecommitdiff
path: root/http.go
blob: 8efe657781ac9ed53fc9011cfdd41ceea9c6b35c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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