Go net/http में प्रॉक्सी सेटअप
The standard library HTTP client. नीचे दिए कॉन्फ़िग से इसे Eveses के रेजिडेंशियल पूल पर सेट करें — जियो यूज़रनेम में रहता है, इसलिए देश बदलने के लिए और कुछ बदलना नहीं पड़ता।
proxy.eveses.com:12321 · SOCKS5 32325 पर · 199 देश · $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.
कॉन्फ़िगरेशन
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)},
}
}Go net/http को छुए बिना देश बदलें
eveses_user_country-deeveses_user_country-de_session-ab12cd34_lifetime-30mजियो और सेशन यूज़रनेम में रहते हैं, होस्ट या पोर्ट में नहीं। देश बदलने पर इस पेज का पूरा कॉन्फ़िग वैसा ही रहता है — आप एक स्ट्रिंग बदलते हैं। 199 देश टारगेट किए जा सकते हैं, और अधिकांश में शहर व क्षेत्र के टोकन भी।
सामान्य प्रश्न
Go net/http में प्रॉक्सी कैसे सेट करें?›
Go net/http किस देश से बाहर निकले, यह कैसे चुनें?›
Go net/http में रिक्वेस्ट के बीच एक ही IP कैसे रखें?›
इसकी कीमत क्या है?›
अन्य इंटीग्रेशन
रेजिडेंशियल IP पर Go net/http चलाएँ
1 GB पर $7.35/GB, वॉल्यूम पर $2.57/GB — हर टूल में वही क्रेडेंशियल।
प्रॉक्सी लें →