Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitMiddleware ¶
func InitMiddleware(e *echo.Echo, wrapper Wrapper)
func RequestLoggerMiddleware ¶
func RequestLoggerMiddleware(wrapper Wrapper) echo.MiddlewareFunc
Types ¶
type ErrorController ¶
type ErrorController struct {
// contains filtered or unexported fields
}
ErrorController is a controller for handling errors.
func NewErrorController ¶
func NewErrorController(wrapper Wrapper) *ErrorController
NewErrorController is constructor.
func (*ErrorController) JSONError ¶
func (controller *ErrorController) JSONError(err error, c echo.Context)
JSONError is cumstomize error handler
Click to show internal directories.
Click to hide internal directories.