Documentation ¶
Index ¶
Constants ¶
View Source
const ( RolePowerUser = 5 RoleReadOnly = 1 RoleNone = 0 )
Variables ¶
View Source
var JwtSigningKey []byte
Functions ¶
func CreateToken ¶
CreateToken creates a new JWT token.
func ValidateToken ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.