Documentation
¶
Index ¶
- func BadRequest(c echo.Context, msg string) error
- func BadRequestDefaultMessage(c echo.Context) error
- func BadRequestWithDetails(c echo.Context, msg string, details string) error
- func Conflict(c echo.Context, msg string) error
- func Created(c echo.Context, msg string, data interface{}) error
- func Forbidden(c echo.Context, msg string) error
- func InternalError(c echo.Context, msg string) error
- func InternalErrorDefaultMsg(c echo.Context) error
- func NotFound(c echo.Context, msg string) error
- func Ok(c echo.Context, data interface{}) error
- func OkWithMsg(c echo.Context, msg string, data interface{}) error
- func Unauthorized(c echo.Context, msg string) error
- type DataResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequestWithDetails ¶
func InternalError ¶
InternalError returns status 500 with a message.
func InternalErrorDefaultMsg ¶
Types ¶
type DataResponse ¶
Click to show internal directories.
Click to hide internal directories.