package
0.0.0-20220915123554-284e01a61eca
Repository: https://github.com/yaproxy/libyap.git
Documentation: pkg.go.dev

# Functions

FromEnvironment 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.
No description provided by the author
No description provided by the author
No description provided by the author
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.
SOCKS4 returns a Dialer that makes SOCKSv4 connections to the given address.
SOCKS5 returns a Dialer that makes SOCKSv5 connections to the given address with an optional username and password.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
Direct is a direct proxy: one that makes network connections directly.
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 Dialer unless the hostname requested matches one of a number of exceptions.

# Interfaces

A Dialer is a means to establish a connection.
A Resolver is a means to transform hostname.

# Type aliases

No description provided by the author