Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewReader), fx.Provide(NewGenerator), )
Module for fx.
Functions ¶
This section is empty.
Types ¶
type Generator ¶ added in v1.367.0
type Generator struct {
// contains filtered or unexported fields
}
Generator for rand.
func NewGenerator ¶ added in v1.367.0
NewGenerator for rand.
func (*Generator) GenerateBytes ¶ added in v1.367.0
GenerateBytes returns a cryptographically random byte slice of size.
func (*Generator) GenerateText ¶ added in v1.449.0
GenerateText will generate using letters.
Click to show internal directories.
Click to hide internal directories.