Skip to content

Instantly share code, notes, and snippets.

@mottet-dev
Created June 15, 2019 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mottet-dev/d7ad4811c7a5ef5f34457e738cd531bb to your computer and use it in GitHub Desktop.
Save mottet-dev/d7ad4811c7a5ef5f34457e738cd531bb to your computer and use it in GitHub Desktop.
Proxy Switcher - Go Colly
proxySwitcher, err := proxy.RoundRobinProxySwitcher("socks5://188.226.141.127:1080", "socks5://67.205.132.241:1080")
if err != nil {
log.Fatal(err)
}
c.SetProxyFunc(proxySwitcher)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment