Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateJWT ¶
This function generates a new JSON Web Token The function also accepts the users username as a input
func PayloadJWT ¶
Returns the JWT payload if no error is present First check if the token is valid and then return the Claims
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.