Documentation
¶
Index ¶
- func ComparePassword(hashPassword string, password string) error
- func GetLoginUser(ctx *gin.Context) (model.ServiceResponse, error)
- func HashPassword(password string) (string, error)
- func SignJWTToken(userID uuid.UUID) (string, error)
- func ValidateToken(tokenString string) (uuid.UUID, error)
- type Claims
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePassword ¶
func GetLoginUser ¶
func GetLoginUser(ctx *gin.Context) (model.ServiceResponse, error)
func HashPassword ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.