Documentation
¶
Index ¶
- func ComparePassword(hashpassword, password string) error
- func GenerateJWT(user model.UserCredentials, secretjwt []byte) (string, error)
- func GeneratePaseto(email string, symetricKey string) string
- func GenerateUUID() string
- func HashPassword(password string) (string, error)
- func IsEmailValid(user model.UserCredentials) error
- func Loadenv() error
- func ParseJWT(tknHeader string, secretjwt string) (*jwt.Token, error)
- func PasswordConstainsOneNumber(s string) bool
- func PasswordContainsSpecialChar(s string) bool
- func PasswordContainsUppercase(s string) bool
- func PrintAscii()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePassword ¶
func GenerateJWT ¶
func GenerateJWT(user model.UserCredentials, secretjwt []byte) (string, error)
func GeneratePaseto ¶
func GenerateUUID ¶
func GenerateUUID() string
func HashPassword ¶
func IsEmailValid ¶
func IsEmailValid(user model.UserCredentials) error
func PrintAscii ¶
func PrintAscii()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.