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

# Functions

NewExperimentMeasurer creates a new ExperimentMeasurer.
NewHTTPResponse creates a new tracex.HTTPResponse given a specific *http.Response instance and its body.
NewRequestEntryList creates a new []tracex.RequestEntry given a specific *http.Request and headers with random case.
Transact performs the HTTP transaction which consists of performing the HTTP round trip and then reading the body.

# Variables

ErrInvalidHelperType is emitted when the helper type is invalid.

# Structs

Config contains the experiment config.
Conn is a connection where headers in the outgoing request are transformed according to a transform table.
Dialer is a dialer that performs headers transformations.
JSONHeaders contains the response from the backend server.
Measurer performs the measurement.
SummaryKeys contains summary keys for this experiment.
Tampering describes the detected forms of tampering.
TestKeys contains the experiment test keys.

# Interfaces

Transport is the definition of http.RoundTripper used by this package.