Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶ added in v0.4.0
func Middleware() handler.Middleware
Middleware implement the handler.MiddlewareNewFunc
Types ¶
type Authorizer ¶ added in v0.2.3
type Authorizer struct{}
Authorizer web api authorizer.
Because of the dependency on JwtToken, the middleware configuration order must come after jwt.
func New ¶ added in v0.2.3
func New() *Authorizer
func (*Authorizer) ApplyFunc ¶ added in v0.2.3
func (a *Authorizer) ApplyFunc(cfg *conf.Configuration) gin.HandlerFunc
func (*Authorizer) Name ¶ added in v0.2.3
func (a *Authorizer) Name() string
Click to show internal directories.
Click to hide internal directories.