Documentation ¶
Index ¶
- Variables
- func ComparePasswordAndHash(password, encodedHash string) (match bool, err error)
- func EncodePassword(password string) (string, error)
- func FullTextCreate(filter string) []string
- func FullTextTest(filter []string, a string) bool
- func IsEmail(email string) bool
- func JsonPrint(o interface{})
- func LogErr(err error)
- func PanicErr(err error)
- func RandomCode() string
- func RemoveDiacritics(s string) string
- func UUID() (uuid string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidHash = errors.New("the encoded hash is not in the correct format") ErrIncompatibleVersion = errors.New("incompatible version of argon2") )
Functions ¶
func ComparePasswordAndHash ¶
func EncodePassword ¶
func FullTextCreate ¶
func FullTextTest ¶
func RandomCode ¶
func RandomCode() string
func RemoveDiacritics ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.