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

# Functions

Parse parses the experiment input using the given config and returns to the caller either the resulting URL or an error.

# Variables

ErrEmptyDefaultScheme indicates that the default scheme is empty.
ErrEmptyHostname indicates that the URL.Hostname() is empty.
ErrIDNAToASCII indicates that we cannot convert IDNA to ASCII.
ErrInvalidEndpoint indicates that we are not parsing a valid endpoint.
ErrUnsupportedScheme indicates that we do not support the given URL.Scheme.
ErrURLParse indicates that we could not parse the URL.

# Structs

Config contains config for parsing experiments input.