Documentation
¶
Index ¶
Constants ¶
View Source
const CurrentUserContextKey = "current_user"
CurrentUserContextKey is the key to retrieve the current_user from echo.Context.
Variables ¶
This section is empty.
Functions ¶
func CurrentUser ¶
CurrentUser checks current_user based on JWT and store it into echo.Context.
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.