Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
func (*Auth) AppendInstance ¶
func (a *Auth) AppendInstance(am AuthMethod)
func (*Auth) GetMiddleware ¶
func (a *Auth) GetMiddleware() gin.HandlerFunc
type AuthMethod ¶
type TokenAuthMethod ¶
type TokenAuthMethod struct {
// contains filtered or unexported fields
}
func NewTokenAuthMethod ¶
func NewTokenAuthMethod(l Logger, cfg *util.Config) *TokenAuthMethod
type TokenClaims ¶
type TokenClaims struct { Version string `json:"version"` jwt.RegisteredClaims }
Click to show internal directories.
Click to hide internal directories.