package
1.59.0
Repository: https://github.com/valyala/fasthttp.git
Documentation: pkg.go.dev

# Functions

FasthttpHTTPDialer returns a fasthttp.DialFunc that dials using the provided HTTP proxy.
FasthttpHTTPDialerDualStack returns a fasthttp.DialFunc that dials using the provided HTTP proxy with support for both IPv4 and IPv6.
FasthttpHTTPDialerDualStackTimeout returns a fasthttp.DialFunc that dials using the provided HTTP proxy with support for both IPv4 and IPv6, using the given timeout.
FasthttpHTTPDialerTimeout returns a fasthttp.DialFunc that dials using the provided HTTP proxy using the given timeout.
FasthttpProxyHTTPDialer returns a fasthttp.DialFunc that dials using the env(HTTP_PROXY, HTTPS_PROXY and NO_PROXY) configured HTTP proxy.
FasthttpProxyHTTPDialerTimeout returns a fasthttp.DialFunc that dials using the env(HTTP_PROXY, HTTPS_PROXY and NO_PROXY) configured HTTP proxy using the given timeout.
FasthttpSocksDialer returns a fasthttp.DialFunc that dials using the provided SOCKS5 proxy.
FasthttpSocksDialerDualStack returns a fasthttp.DialFunc that dials using the provided SOCKS5 proxy with support for both IPv4 and IPv6.

# Structs

Dialer embeds both fasthttp.TCPDialer and httpproxy.Config, allowing it to take advantage of the optimizations provided by fasthttp for dialing while also utilizing the finer-grained configuration options offered by httpproxy.

# Type aliases

DialerFunc Make a function of type func(network, addr string) (net.Conn, error) implement the proxy.Dialer interface.