Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CurrentUserContextKey is the key to retrieve the current_user from echo.Context. CurrentUserContextKey = "current_user" // CurrentSessionContextKey is the key to retrieve the current_session from echo.Context. CurrentSessionContextKey = "current_session" )
Variables ¶
This section is empty.
Functions ¶
func HTTPErrorHandler ¶
func HTTPErrorHandler(err error, c echo.Context)
HTTPErrorHandler is a middleware that formats rendered errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.