Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FasthttpSocksDialer ¶
func FasthttpSocksDialer(proxyAddr string) fasthttp.DialFunc
FasthttpSocksDialer returns a fasthttp.DialFunc that dials using the provided SOCKS5 proxy.
Example usage:
c := &fasthttp.Client{ Dial: fasthttpproxy.FasthttpSocksDialer("localhost:9050"), }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.