package
0.0.0-20190322182713-bf6f0a60fce1
Repository: https://github.com/llvm-mirror/llgo.git
Documentation: pkg.go.dev

# Functions

DefaultDialer returns the dialer specified by the proxy related variables in the environment.
FromURL returns a Dialer given a URL specification and an underlying Dialer for it to make network requests.
NewPerHost returns a PerHost Dialer that directs connections to either defaultDialer or bypass, depending on whether the connection matches one of the configured rules.
RegisterDialerType takes a URL scheme and a function to generate Dialers from a URL with that scheme and a forwarding Dialer.
SOCKS5 returns a Dialer that makes SOCKSv5 connections to the given address with an optional username and password.

# Variables

Direct is a direct proxy: one that makes network connections directly.

# Structs

Auth contains authentication parameters that specific Dialers may require.
A PerHost directs connections to a default Dailer unless the hostname requested matches one of a number of exceptions.

# Interfaces

A Dialer is a means to establish a connection.