randommock

package
v0.0.0-...-98cd694 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	mock.Mock
}

Generator is a mock Generator.

func (*Generator) GenerateBase32EncodedString

func (m *Generator) GenerateBase32EncodedString(ctx context.Context, length int) (string, error)

GenerateBase32EncodedString implements our interface.

func (*Generator) GenerateBase64EncodedString

func (m *Generator) GenerateBase64EncodedString(ctx context.Context, length int) (string, error)

GenerateBase64EncodedString implements our interface.

func (*Generator) GenerateHexEncodedString

func (m *Generator) GenerateHexEncodedString(ctx context.Context, length int) (string, error)

func (*Generator) GenerateRawBytes

func (m *Generator) GenerateRawBytes(ctx context.Context, length int) ([]byte, error)

GenerateRawBytes implements our interface.

Jump to

Keyboard shortcuts

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