Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomSecure ¶
func CustomSecure(codeLength int, combination Combination) (string, error)
CustomSecure generates random code with crypto/rand and custom combination
Types ¶
type Combination ¶
type Combination string
const CombinationDefault Combination = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_-"
Click to show internal directories.
Click to hide internal directories.