Documentation ¶
Overview ¶
Package response provides webserver's response.
Index ¶
- func BadRequestWithMessage(c echo.Context, message string) error
- func BadRequestWithMessageWithJSON(c echo.Context, message string, content interface{}) error
- func BadRequestWithMessagef(c echo.Context, format string, args ...interface{}) error
- func CustomHTTPErrorHandler(err error, c echo.Context)
- func Debug() bool
- func GetRuntimeLocation() string
- func StatusOKNoContent(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequestWithMessage ¶
func BadRequestWithMessagef ¶
func CustomHTTPErrorHandler ¶
func CustomHTTPErrorHandler(err error, c echo.Context)
func GetRuntimeLocation ¶
func GetRuntimeLocation() string
func StatusOKNoContent ¶
func StatusOKNoContent(c echo.Context) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.