Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JwtService ¶
func (*JwtService) CheckToken ¶
func (this *JwtService) CheckToken(TokenStr string) (string, int)
func (*JwtService) CreateToken ¶
func (this *JwtService) CreateToken(name, pwd, userType string) models.Result
func (*JwtService) GetUserFromToken ¶
func (this *JwtService) GetUserFromToken() (string, bool)
Click to show internal directories.
Click to hide internal directories.