Documentation ¶
Index ¶
- type IGenerator
- type SimpleGenerator
- func (g *SimpleGenerator) GenerateRandomCode(generator *vcgen.Generator) string
- func (g *SimpleGenerator) GenerateRandomRangeNumber(min, max int64) int64
- func (g *SimpleGenerator) GenerateSha256Hash(input string) string
- func (g *SimpleGenerator) RandomPINCodeGenerator(codeLength int) string
- func (g *SimpleGenerator) RandomPasswordGenerator(passwordLength int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IGenerator ¶ added in v0.8.78
type SimpleGenerator ¶
type SimpleGenerator struct { }
func (*SimpleGenerator) GenerateRandomCode ¶ added in v0.8.64
func (g *SimpleGenerator) GenerateRandomCode(generator *vcgen.Generator) string
func (*SimpleGenerator) GenerateRandomRangeNumber ¶
func (g *SimpleGenerator) GenerateRandomRangeNumber(min, max int64) int64
func (*SimpleGenerator) GenerateSha256Hash ¶
func (g *SimpleGenerator) GenerateSha256Hash(input string) string
func (*SimpleGenerator) RandomPINCodeGenerator ¶ added in v0.9.14
func (g *SimpleGenerator) RandomPINCodeGenerator(codeLength int) string
func (*SimpleGenerator) RandomPasswordGenerator ¶ added in v0.9.14
func (g *SimpleGenerator) RandomPasswordGenerator(passwordLength int) string
Click to show internal directories.
Click to hide internal directories.