generator

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 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 = func() interface{}

Generator generates a series of operations

func Stagger

func Stagger(dt time.Duration, gen Generator) Generator

Stagger introduces uniform random timing noise with a mean delay of dt duration for every operation. Delays range from 0 to 2 * dt."

Jump to

Keyboard shortcuts

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