aboutsummaryrefslogtreecommitdiff
path: root/fasthttpproxy
diff options
context:
space:
mode:
authorGravatar Erik Dubbelboer <erik@dubbelboer.com> 2021-08-14 10:28:45 +0200
committerGravatar Erik Dubbelboer <erik@dubbelboer.com> 2021-08-14 10:28:45 +0200
commit0263cae5a21a7f949dfc79f07834f482512fea3e (patch)
treebe2d511372472f677df63f5b83f4390baf890172 /fasthttpproxy
parentHandle perIPConn in RequestCtx.IsTLS() specially (#1064) (diff)
downloadfasthttp-0263cae5a21a7f949dfc79f07834f482512fea3e.tar.gz
fasthttp-0263cae5a21a7f949dfc79f07834f482512fea3e.tar.bz2
fasthttp-0263cae5a21a7f949dfc79f07834f482512fea3e.zip
Fix FasthttpSocksDialer example
Diffstat (limited to 'fasthttpproxy')
-rw-r--r--fasthttpproxy/socks5.go2
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 (