Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( wire.Struct(new(Middleware), "*"), NewAuthMiddleware, )
Functions ¶
func AuthHeaderToken ¶
Types ¶
type AuthMiddleware ¶
type AuthMiddleware struct { }
func NewAuthMiddleware ¶
func NewAuthMiddleware() *AuthMiddleware
func (*AuthMiddleware) Auth ¶
func (a *AuthMiddleware) Auth() gin.HandlerFunc
type Middleware ¶
type Middleware struct {
AuthMiddleware *AuthMiddleware
}
Click to show internal directories.
Click to hide internal directories.