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 ¶
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
Source Files
¶
- auth.go
- logger.go
Click to show internal directories.
Click to hide internal directories.