Open ghost opened 6 years ago
Have you tried setting the proxy using the SetTransport method like you would with the http client? Should act as a good work around for you.
@Joffcom I looked up source code , It contains the method setTransport, as follow:
I would still give it a Bash but instead of dial use the Proxy option to see if it works.
You could try setting an HTTP_PROXY envvar to see if that sorts it as well
@Joffcom Yes, I've already tried, but it doesn't work. Meanwhile I need to implement IP switching dynamicly.
I've got an answer from myself .proxy address must be in this pattern: "http://192.168.1.120:82/"
Nice work so all it needed was the trailing the /
I setted up a proxy server in local PC with nginx. But when my configuration code as follow:
err = bow.SetProxy("http://192.168.1.120:82") if err != nil { fmt.Println(err) }
when I run my pro, then it show me as the title! Please help, thanks in advance!