Documentation
¶
Index ¶
- Constants
- func Blend(length int) string
- func Custom(template string) string
- func Default() string
- func Digit(length int) string
- func Generate(length int, codeType int) (code string)
- func LetterLower(length int) string
- func LetterUpper(length int) string
- func NewCustom(length int, template string) (code string)
- func NewZN_CN(length int) (code string)
- func PrintCNChar()
- func String(length int, codeType int) string
- func Verify(in string, code string, capslock ...bool) bool
- func ZN_CN() string
Constants ¶
View Source
const ( TypeBlend = 0 TypeDigit = 1 TypeLetterLower = 2 TypeLetterUpper = 3 DefaultLen = 6 )
Variables ¶
This section is empty.
Functions ¶
func LetterLower ¶ added in v0.1.10
func LetterUpper ¶ added in v0.1.10
func PrintCNChar ¶
func PrintCNChar()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.