Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface { Response(code int, response interface{}) error Send(response interface{}) error Created(response interface{}) error NoContent() BadRequest(err error) error NotFound(err error) error MethodNotAllowed(err error) error InternalServerError(err error) error }
Engine define methods to encoded response in the body of a request with the HTTP status code.
type Render ¶
type Render func(http.ResponseWriter) Engine
Render returns a Engine to response a request with the HTTP status code.
Click to show internal directories.
Click to hide internal directories.