Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKeyAuth ¶
func (*APIKeyAuth) Header ¶
func (a *APIKeyAuth) Header() string
func (*APIKeyAuth) HeaderKey ¶
func (a *APIKeyAuth) HeaderKey() string
type Auth ¶
type Auth struct {
Authorization []Authorization
}
func NewAuth ¶
func NewAuth(auth ...Authorization) *Auth
func (*Auth) Add ¶
func (a *Auth) Add(auth Authorization)
func (*Auth) EchoMiddleware ¶
func (a *Auth) EchoMiddleware(next echo.HandlerFunc) echo.HandlerFunc
func (*Auth) GinMiddleware ¶
type Authorization ¶
Click to show internal directories.
Click to hide internal directories.