Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
JwtKey = []byte(config.Get().SecretKey)
)
Functions ¶
func CheckPasswordHash ¶
func HashPassword ¶
Types ¶
type Account ¶
func (*Account) GetJwtToken ¶
type Claims ¶
type Claims struct { UserID string jwt.StandardClaims }
Click to show internal directories.
Click to hide internal directories.