Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrNotAcceptable ¶
func ErrNotFound ¶
func ErrUnprocessableEntity ¶
Types ¶
type Context ¶
type Context struct {
ResponseWriter http.ResponseWriter
Request *http.Request
Params httprouter.Params
}
type ErrHTTPResponse ¶
type ErrHTTPResponse struct {
// contains filtered or unexported fields
}
func (ErrHTTPResponse) Error ¶
func (err ErrHTTPResponse) Error() string
type Router ¶
type Router struct {
*httprouter.Router
// contains filtered or unexported fields
}
func (Router) ErrHandler ¶
func (r Router) ErrHandler(handle func(http.ResponseWriter, string, int))
Click to show internal directories.
Click to hide internal directories.