Skip to content

Commit 8b0b919

Browse files
Fix FasthttpSocksDialer documentation
1 parent b29d896 commit 8b0b919

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fasthttpproxy/socks5.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
// the provided SOCKS5 proxy.
1212
//
1313
// Example usage:
14-
// c := &fasthttp.Client{
15-
// Dial: fasthttpproxy.FasthttpSocksDialer("localhost:9050"),
16-
// }
14+
// c := &fasthttp.Client{
15+
// Dial: fasthttpproxy.FasthttpSocksDialer("localhost:9050"),
16+
// }
1717
func FasthttpSocksDialer(proxyAddr string) fasthttp.DialFunc {
1818
dialer, err := proxy.SOCKS5("tcp", proxyAddr, nil, proxy.Direct)
1919
// It would be nice if we could return the error here. But we can't

0 commit comments

Comments
 (0)