Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
func NewHandler ¶
type Responder ¶
type Responder interface {
OK() *Response
BadRequest() *Response
Forbidden() *Response
NotFound() *Response
Conflict() *Response
InternalServerError() *Response
NotImplemented() *Response
}
func NewResponder ¶
func NewResponder(w http.ResponseWriter, r *http.Request) Responder
Click to show internal directories.
Click to hide internal directories.