Go net/http proxy setup
The standard library HTTP client. Point it at the Eveses residential pool with the configuration below — the geo lives in the username, so nothing else in your setup has to change to move country.
proxy.eveses.com:12321 · SOCKS5 on 32325 · 199 countries · from $7.35/GB
`http.ProxyURL` is set on the Transport, and a Transport is meant to be created once and reused. Building a new Client per request leaks connections and defeats keep-alive, which on a metered proxy costs you real gigabytes in re-handshakes.
Configuration
package main
import (
"net/http"
"net/url"
"time"
)
var client = newProxyClient() // once, at package level
func newProxyClient() *http.Client {
u, _ := url.Parse("http://eveses_user_country-us:[email protected]:12321")
return &http.Client{
Timeout: 30 * time.Second,
Transport: &http.Transport{Proxy: http.ProxyURL(u)},
}
}Change country without touching Go net/http
eveses_user_country-deeveses_user_country-de_session-ab12cd34_lifetime-30mThe geo and the session live in the username, not in the host or the port. Every configuration on this page stays exactly as it is when you move country — you edit one string. 199 countries are addressable, with city and state tokens inside most of them.
FAQ
How do I set a proxy in Go net/http?›
How do I choose the country Go net/http exits from?›
How do I keep the same IP across requests in Go net/http?›
What does this cost?›
Other integrations
Run Go net/http through residential IPs
$7.35/GB at 1 GB, $2.57/GB in volume — same credentials in every tool.
Get proxies →