Closed shavit closed 7 years ago
I'm reluctant to add a Tor specific method when there is already possible via SetTransport
. Perhaps this could be a SetProxy
instead?
My only reservation is passing a *url.URL
to SetProxy()
instead of a string like the other methods which take a url.
Thanks, looks good to me. I'll wait on @lxt2 so we can merge a bunch of these pull requests at once into one patch release. Should be soon.
Moving to #72.
To use the proxy use the
Tor(url *url.URL) (err error)
method