randomizer

package
v0.0.0-...-fb72fe2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Randomizer

type Randomizer interface {
	Rand() (string, error)
}

func NewUUIDRandomizer

func NewUUIDRandomizer() Randomizer

func NewWordListRandomizer

func NewWordListRandomizer(cfg runtime.NSnitchConfig) Randomizer

type UUIDRandomizer

type UUIDRandomizer struct{}

func (UUIDRandomizer) Rand

func (rnd UUIDRandomizer) Rand() (string, error)

type WordRandomizer

type WordRandomizer struct {
	// contains filtered or unexported fields
}

func (WordRandomizer) Rand

func (rnd WordRandomizer) Rand() (string, error)

Jump to

Keyboard shortcuts

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