diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2021-08-14 10:28:45 +0200 |
---|---|---|
committer | Erik Dubbelboer <erik@dubbelboer.com> | 2021-08-14 10:28:45 +0200 |
commit | 0263cae5a21a7f949dfc79f07834f482512fea3e (patch) | |
tree | be2d511372472f677df63f5b83f4390baf890172 /fasthttpproxy | |
parent | Handle perIPConn in RequestCtx.IsTLS() specially (#1064) (diff) | |
download | fasthttp-0263cae5a21a7f949dfc79f07834f482512fea3e.tar.gz fasthttp-0263cae5a21a7f949dfc79f07834f482512fea3e.tar.bz2 fasthttp-0263cae5a21a7f949dfc79f07834f482512fea3e.zip |
Fix FasthttpSocksDialer example
Diffstat (limited to 'fasthttpproxy')
-rw-r--r-- | fasthttpproxy/socks5.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fasthttpproxy/socks5.go b/fasthttpproxy/socks5.go index b3339a4..a334837 100644 --- a/fasthttpproxy/socks5.go +++ b/fasthttpproxy/socks5.go @@ -13,7 +13,7 @@ import ( // // Example usage: // c := &fasthttp.Client{ -// Dial: fasthttpproxy.FasthttpSocksDialer("localhost:9050"), +// Dial: fasthttpproxy.FasthttpSocksDialer("socks5://localhost:9050"), // } func FasthttpSocksDialer(proxyAddr string) fasthttp.DialFunc { var ( |