Versions in this module Expand all Collapse all v1 v1.0.0 Oct 9, 2024 Changes in this version + func GenerateToken(info model.User, secretKey []byte, duration time.Duration) (string, error) + func VerifyPassword(hashedPassword string, candidatePassword string) bool + func VerifyToken(tokenStr string, secretKey []byte) (*model.UserClaims, error)