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

# Functions

DefaultMultiGetter is the default MultiGetter.
MaybeUserAgent returns ua if ua is not empty.
NewExperimentMeasurer creates a new ExperimentMeasurer.
RegisterExtensions registers the extensions used by the urlgetter experiment into the provided measurement.

# Variables

ErrHTTPRequestFailed indicates that the HTTP request failed.

# Structs

Config contains the experiment's configuration.
The Configuration is the configuration for running a measurement.
The Configurer job is to construct a Configuration that can later be used by the measurer to perform measurements.
The Getter gets the specified target in the context of the given session and with the specified config.
Measurer performs the measurement.
Multi allows to run several urlgetters in paraller.
MultiInput is the input for Multi.Run().
MultiOutput is the output returned by Multi.Run().
The Runner job is to run a single measurement.
TestKeys contains the experiment's result.

# Type aliases

MultiGetter allows to override the behaviour of Multi for testing purposes.