Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateToken ¶
GenerateToken generates a jwt token and assign a username to it's claims and return it
func ParseToken ¶
ParseToken parses a jwt token and returns the username in it's claims
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.