Documentation ¶
Index ¶
- type Generator
- func (m *Generator) GenerateBase32EncodedString(ctx context.Context, length int) (string, error)
- func (m *Generator) GenerateBase64EncodedString(ctx context.Context, length int) (string, error)
- func (m *Generator) GenerateHexEncodedString(ctx context.Context, length int) (string, error)
- func (m *Generator) GenerateRawBytes(ctx context.Context, length int) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
Generator is a mock Generator.
func (*Generator) GenerateBase32EncodedString ¶
GenerateBase32EncodedString implements our interface.
func (*Generator) GenerateBase64EncodedString ¶
GenerateBase64EncodedString implements our interface.
func (*Generator) GenerateHexEncodedString ¶
Click to show internal directories.
Click to hide internal directories.