Documentation ¶
Index ¶
- func DecodeBody(c echo.Context, dst interface{}) error
- func DecodePathParams(c echo.Context, dst interface{}) error
- func DecodeQueryParams(c echo.Context, dst interface{}) error
- func RespondError(c echo.Context, httpStatusCode int, respErr error) error
- func RespondOk(c echo.Context, data interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeBody ¶ added in v1.1.1
func DecodeBody(c echo.Context, dst interface{}) error
DecodeBody decodes the request body into destination interface
func DecodePathParams ¶ added in v1.2.0
func DecodePathParams(c echo.Context, dst interface{}) error
DecodePathParams decodes the path params into destination interface
func DecodeQueryParams ¶ added in v1.2.0
func DecodeQueryParams(c echo.Context, dst interface{}) error
DecodeQueryParams decodes the query params into destination interface
func RespondError ¶
RespondError sends a json error response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.