Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttpServerContext ¶
func WithUserInfoContext ¶
func WithUserInfoContext(ctx context.Context, claims *JwtCustomClaims) context.Context
Types ¶
type JwtCustomClaims ¶
type JwtCustomClaims struct { JwtProfile UserType string /*client type*/ jwt.StandardClaims }
type JwtProfile ¶
Click to show internal directories.
Click to hide internal directories.