package
Version:
v0.0.0-...-977c01d
Opens a new window with list of versions in this module.
Published: Nov 22, 2024
License: CC0-1.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func CheckPasswordHash(password, hash string) bool
GenerateJWT tạo JWT token
type Claims struct {
UserID uuid.UUID `json:"user_id"`
Email string `json:"email"`
jwt.RegisteredClaims
}
Claims cấu trúc payload của JWT
ValidateJWT xác thực và giải mã JWT token
Source Files
¶
Click to show internal directories.
Click to hide internal directories.