Documentation ¶
Index ¶
- Constants
- func ComparePasswordHash(password string, hash string) (bool, error)
- func CurlyBraceReplaceStrings(original string, replace map[string]string) string
- func GeneratePassword() (string, error)
- func GeneratePasswordHash(password string) (string, error)
- func LocalizeSimple(localizer *i18n.Localizer, id string) string
- func LocalizeWithInterperlate(localizer *i18n.Localizer, id string, replace map[string]string) string
- func ReplaceMergeMap(dst, src map[string]interface{}) error
- func ReplaceStrings(original string, replace map[string]string) string
- type PasswordHashSet
Constants ¶
View Source
const MaxDepth = 32
Variables ¶
This section is empty.
Functions ¶
func CurlyBraceReplaceStrings ¶ added in v1.0.5
func GeneratePassword ¶
func GeneratePasswordHash ¶
func LocalizeSimple ¶ added in v1.0.5
func LocalizeWithInterperlate ¶ added in v1.0.5
func ReplaceMergeMap ¶
Types ¶
type PasswordHashSet ¶
func GeneratePasswordHashSet ¶
func GeneratePasswordHashSet(secret *string) (*PasswordHashSet, error)
Click to show internal directories.
Click to hide internal directories.