| 27 | } |
| 28 | |
| 29 | type httpProxyDialer struct { |
| 30 | proxyURL *url.URL |
| 31 | forwardDial func(network, addr string) (net.Conn, error) |
| 32 | } |
| 33 | |
| 34 | func (hpd *httpProxyDialer) Dial(network string, addr string) (net.Conn, error) { |
| 35 | hostPort, _ := hostPortNoPort(hpd.proxyURL) |
nothing calls this directly
no outgoing calls
no test coverage detected