Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Jwt ¶
type Jwt struct {
SecretKey string
}
var JwtTool Jwt
func (Jwt) GenerateJWT ¶
GenerateJWT generate a jwt string
func (*Jwt) SetSecretKey ¶
func (Jwt) ValidateJWT ¶
ValidateJWT validates jwt string
Click to show internal directories.
Click to hide internal directories.