Documentation
¶
Index ¶
- func BindAndValidate(ctx echo.Context, v interface{}) error
- func NewBadRequest(err interface{}) error
- func NewError(statusCode int, msg string) error
- func NewForbiden(err interface{}) error
- func NewInternalServerError(err error) error
- func NewNotFoundError(msg string) error
- func NewStatusUnprocessableEntity(msg string) error
- func NewUnauthorized(msg string) error
- type Error
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindAndValidate ¶
func BindAndValidate(ctx echo.Context, v interface{}) error
func NewBadRequest ¶
func NewBadRequest(err interface{}) error
func NewForbiden ¶
func NewForbiden(err interface{}) error
func NewInternalServerError ¶
func NewNotFoundError ¶
func NewUnauthorized ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.