()
| 21 | } |
| 22 | |
| 23 | func init() { |
| 24 | proxy_RegisterDialerType("http", func(proxyURL *url.URL, forwardDialer proxy_Dialer) (proxy_Dialer, error) { |
| 25 | return &httpProxyDialer{proxyURL: proxyURL, forwardDial: forwardDialer.Dial}, nil |
| 26 | }) |
| 27 | } |
| 28 | |
| 29 | type httpProxyDialer struct { |
| 30 | proxyURL *url.URL |
nothing calls this directly
no test coverage detected