Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ProxyURL (0.03 sec)

  1. 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, nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top