We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c87b751 commit 5d518bdCopy full SHA for 5d518bd
README.md
@@ -48,11 +48,11 @@ func main() {
48
config := multiproxy.Config{
49
Proxies: []multiproxy.Proxy{
50
{
51
- URL: mustParseURL("http://proxy1.example.com:8080"),
+ URL: &url.URL{Scheme: "http", Host: "proxy1.example.com:8080"},
52
Auth: &multiproxy.ProxyAuth{Username: "user1", Password: "pass1"},
53
},
54
55
- URL: mustParseURL("http://proxy2.example.com:8080"),
+ URL: &url.URL{Scheme: "socks5", Host: "proxy2.example.com:1080"},
56
Auth: &multiproxy.ProxyAuth{Username: "user2", Password: "pass2"},
57
58
0 commit comments