- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ProxyURL (0.03 sec)
-
internal/config/subnet/config.go
// inputs not performing any network calls. return cfg, nil } // Make sure to clone the transport before editing the ProxyURL if proxyURL != nil { if tr, ok := transport.(*http.Transport); ok { ctransport := tr.Clone() ctransport.Proxy = http.ProxyURL((*url.URL)(proxyURL)) cfg.transport = ctransport } } else { cfg.transport = transport } return cfg, nilRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 3.9K bytes - Viewed (0) -
internal/logger/target/http/http.go
h.payloadType = "application/json" } // If proxy available, set the same if h.config.Proxy != "" { proxyURL, _ := url.Parse(h.config.Proxy) transport := h.config.Transport if tr, ok := transport.(*http.Transport); ok { ctransport := tr.Clone() ctransport.Proxy = http.ProxyURL(proxyURL) h.config.Transport = ctransport } } h.client = &http.Client{Transport: h.config.Transport}Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.6K bytes - Viewed (0)