package
3.25.0-alpha
Repository: https://github.com/ooni/probe-cli.git
Documentation: pkg.go.dev

# Functions

AfterFunc constructs a single-shot time.Timer that, if repeatedly used to construct a series of timers, will ensure that the resulting events conform to the memoryless distribution.
NewTicker creates a new memoryless ticker.
NewTimer constructs a single-shot time.Timer that, if repeatedly used to construct a series of timers, will ensure that the resulting events conform to the memoryless distribution.
Run calls the given function repeatedly, using a memoryless.Ticker to wait between function calls.

# Variables

MakeTicker is a deprecated alias for NewTicker.

# Structs

Config represents the time we should wait between runs of the function.
Ticker is a struct that waits a config.Expected amount of time on average between sends down the channel C.