Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
func (*API) AddEndpoint ¶
func (api *API) AddEndpoint(e Endpointer)
type DeleteHandler ¶
type DeleteHandler interface {
Delete(http.ResponseWriter, *http.Request)
}
type Endpointer ¶
type GetHandler ¶
type GetHandler interface {
Get(http.ResponseWriter, *http.Request)
}
type OptionsHandler ¶
type OptionsHandler interface {
Options(http.ResponseWriter, *http.Request)
}
type PatchHandler ¶
type PatchHandler interface {
Patch(http.ResponseWriter, *http.Request)
}
type PostHandler ¶
type PostHandler interface {
Post(http.ResponseWriter, *http.Request)
}
type PutHandler ¶
type PutHandler interface {
Put(http.ResponseWriter, *http.Request)
}
Click to show internal directories.
Click to hide internal directories.