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

# Packages

Package mocks contains mocks for tunnel.

# Functions

Start starts a new tunnel by name or returns an error.

# Variables

ErrCannotFindTorBinary is an error emitted when we cannot find the tor binary.
ErrEmptyTunnelDir indicates that config.TunnelDir is empty.
ErrTorReturnedUnsupportedProxy indicates that tor returned to us the address of a proxy that we don't support.
ErrTorUnableToGetSOCKSProxyAddress indicates that we could not get the SOCKS proxy address via the control port.
ErrUnsupportedTunnelName indicates that the given tunnel name is not supported by this package.

# Structs

Config contains the configuration for creating a Tunnel instance.
DebugInfo contains information useful to debug issues when starting up a given tunnel fails.

# Interfaces

Session is a measurement session.
Tunnel is a tunnel for communicating with OONI backends (and other services) to circumvent blocking.