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

# Functions

NewSampler attaches a [*Sampler] to a [Trace], starts sampling in the background and returns the [*Sampler].

# Constants

BytesReceivedCumulativeOperation is the operation we set for network events.

# Structs

Sampler periodically samples the bytes sent and received by a [Trace].

# Interfaces

Trace is the [*measurexlite.Trace] abstraction used by this package.