generator

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 2 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{}

Generator is responsible for randomly generating new strings and tokens that might need to be mocked out to produce consistent output for tests

func New

func New() *Generator

New returns a new Generator

func (*Generator) NewPSK

func (g *Generator) NewPSK() ([]byte, error)

NewPSK returns a new random array of 16 bytes

Jump to

Keyboard shortcuts

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