generator

package
v1.3.49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IGenerator added in v0.8.78

type IGenerator interface {
	GenerateRandomRangeNumber(int64, int64) int64
	GenerateSha256Hash(string) string
	GenerateRandomCode(*vcgen.Generator) string
	RandomPasswordGenerator(int) string
	RandomPINCodeGenerator(int) string
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL