# Functions
CopyReadWriteCloser copies reads and writes between two connections.
DefaultNetworkInterface fetches default network interface name.
DefaultNetworkInterfaceIPs returns IP addresses for the default network interface.
ExtractPort returns port of the given UDP or TCP address.
HasPublicIP returns true if this machine has at least one publically available IP address.
IsPublicIP returns true if the provided IP is public.
LocalAddresses returns a list of all local addresses.
LocalNetworkInterfaceIPs gets IPs of all local interfaces.
LocalProtocol check a condition to use dmsghttp or direct url.
NetworkInterfaceIPs gets IPs of network interface with name `name`.
NewDefaultRetrier creates a retrier with default values.
NewPorter creates a new Porter with a given minimum ephemeral port value.
NewRetrier returns a retrier that is ready to call Do() method.
# Constants
Default values for retrier.
Default values for retrier.
Default values for retrier.
Default values for retrier.
PorterMinEphemeral is the default minimum ephemeral port.
# Variables
Package errors.
# Structs
Porter reserves ports.
PorterValue associates a port value alongside it's children.
Retrier holds a configuration for how retries should be performed.
# Type aliases
RetryFunc is a function used as argument of (*Retrier).Do(), which will retry on error unless it is whitelisted.