Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateToken ¶
CreateToken Creates a JSON Web Token.
func ExtractTokenUserID ¶
ExtractTokenUserID will extract the users id stored within the token
func TokenValid ¶
TokenValid takes a http request, checks for a token and validates it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.