Documentation ¶
Index ¶
- Variables
- func ParseProxies(proxies *[]Proxy, proxyURI string, proxyListFiles []string) (err error)
- func ParseProxyFile(proxies *[]Proxy, proxyFile string) (err error)
- func ParseProxyURIString(proxies *[]Proxy, proxyURI string) (err error)
- func SOCKS4Dialer(u *url.URL, forward netproxy.Dialer) (dialer netproxy.Dialer, err error)
- type Proxy
- func FromURL(u *url.URL, forward netproxy.Dialer) (proxy Proxy, err error)
- func FromURLString(u string, forward netproxy.Dialer) (proxy Proxy, err error)
- func HTTP(u *url.URL, forward netproxy.Dialer) (proxy Proxy, err error)
- func SOCKS4(u *url.URL, forward netproxy.Dialer) (proxy Proxy, err error)
- func SOCKS5(u *url.URL, forward netproxy.Dialer) (proxy Proxy, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownScheme = errors.New("unknown proxy URI scheme") ErrInvalidParams = errors.New("invalid parameters") )
Functions ¶
func ParseProxies ¶
func ParseProxyFile ¶
func ParseProxyURIString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.