Documentation ¶
Index ¶
- func DefaultQuery(c echo.Context, name, defValue string) string
- func PathParam(c echo.Context, name string) string
- func PathWildcardParam(c echo.Context) string
- func ShouldBindJSON(c echo.Context, obj interface{}) error
- func ShouldBindJSONValidation(c echo.Context, obj interface{}, validate bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultQuery ¶
func PathWildcardParam ¶
func PathWildcardParam(c echo.Context) string
func ShouldBindJSON ¶
func ShouldBindJSON(c echo.Context, obj interface{}) error
ShouldBindJSON binds the body data of the request to the given object. An error is returned if the body data is not valid JSON or the validation of the unmarshalled data failed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.