Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type ContextKey ¶
type ContextKey struct {
Name string
}
func NewContextKey ¶
func NewContextKey(name string) ContextKey
func (ContextKey) Get ¶
func (c ContextKey) Get(ctx context.Context) *CustomClaims
func (ContextKey) MustGet ¶
func (c ContextKey) MustGet(ctx context.Context) *CustomClaims
type CustomClaims ¶
type CustomClaims struct {
jwt.RegisteredClaims
}
Click to show internal directories.
Click to hide internal directories.