Documentation
¶
Index ¶
Constants ¶
View Source
const SECRET_KEY_ADMIN = "learngolanglalalafdfds"
View Source
const SECRET_KEY_USERS = "userssecretkeylear"
Variables ¶
This section is empty.
Functions ¶
func ComparePasswords ¶
Types ¶
type JwtCustomClaims ¶
type JwtCustomClaims struct { UserId string Role string jwt.StandardClaims }
type JwtCustomClaimsUsers ¶
type JwtCustomClaimsUsers struct { UserId string Role string jwt.StandardClaims }
Click to show internal directories.
Click to hide internal directories.