Documentation
¶
Index ¶
- func CompareHashAndPassword(hashedPassword, password string) error
- func ExtractBearerToken(header string) (string, error)
- func GenerateFromPassword(password string) (string, error)
- func GenerateJWT(userID, secretKey string, exp time.Duration) (string, error)
- func GenerateUUID() string
- func Pluralize(s string) string
- func ValidateJWT(tokenStr string, secret string) (jwt.MapClaims, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareHashAndPassword ¶
func ExtractBearerToken ¶
func GenerateFromPassword ¶
func GenerateUUID ¶
func GenerateUUID() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.