Documentation ¶
Index ¶
- Variables
- func BasicAuth(ah AuthorizedHandler, uah UnauthorizedHandler, fn BasicAuthFunc) echo.HandlerFunc
- func JwtAuth(ah AuthorizedHandler, uah UnauthorizedHandler, fn JwtKeyFunc) echo.HandlerFunc
- func Logger(h echo.HandlerFunc) echo.HandlerFunc
- type AuthorizedHandler
- type BasicAuthFunc
- type Claims
- type JwtKeyFunc
- type UnauthorizedHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBasicAuth = errors.New("echo: basic auth error") ErrJwtAuth = errors.New("echo: jwt auth error") )
Functions ¶
func BasicAuth ¶
func BasicAuth(ah AuthorizedHandler, uah UnauthorizedHandler, fn BasicAuthFunc) echo.HandlerFunc
func JwtAuth ¶
func JwtAuth(ah AuthorizedHandler, uah UnauthorizedHandler, fn JwtKeyFunc) echo.HandlerFunc
func Logger ¶
func Logger(h echo.HandlerFunc) echo.HandlerFunc
Types ¶
type AuthorizedHandler ¶
type AuthorizedHandler echo.HandlerFunc
type BasicAuthFunc ¶
type JwtKeyFunc ¶
type UnauthorizedHandler ¶
Click to show internal directories.
Click to hide internal directories.