Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWTTokenizer ¶
type JWTTokenizer struct {
// contains filtered or unexported fields
}
func NewJWTTokenizer ¶
func NewJWTTokenizer(secretKey string) JWTTokenizer
func (JWTTokenizer) Generate ¶
func (JWTT JWTTokenizer) Generate(payload entity.TokenPayload) (string, error)
Click to show internal directories.
Click to hide internal directories.