Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateToken ¶
CreateToken returns the token and error after signing with HS256
func ValidateToken ¶
ValidateToken validates a token payload
func VerifyToken ¶
VerifyToken verifies if the token present in the authorization header is valid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.