Documentation
¶
Index ¶
- func NewGenerator() random.Generator
- type Generator
- func (*Generator) GenerateBase32EncodedString(context.Context, int) (string, error)
- func (*Generator) GenerateBase64EncodedString(context.Context, int) (string, error)
- func (*Generator) GenerateHexEncodedString(context.Context, int) (string, error)
- func (*Generator) GenerateRawBytes(context.Context, int) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Generator ¶
type Generator struct{}
Generator is a no-op Generator.
func (*Generator) GenerateBase32EncodedString ¶
GenerateBase32EncodedString is a no-op.
func (*Generator) GenerateBase64EncodedString ¶
GenerateBase64EncodedString is a no-op.
func (*Generator) GenerateHexEncodedString ¶
GenerateHexEncodedString is a no-op.
Click to show internal directories.
Click to hide internal directories.