testmode

package
Version: v0.0.0-...-dfcb032 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2014 License: MIT Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEnabled

func IsEnabled() bool

func IsEnabledFast

func IsEnabledFast() bool

func RandomBoolean

func RandomBoolean(falsePct float64) bool

Returns false with probability P(falsePct)

func RandomDelay

func RandomDelay(maxWait int64)

Waits for up to maxWait seconds

func SetupSignals

func SetupSignals()

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL