socks5Dialer SOCKS5拨号器
| 298 | |
| 299 | // socks5Dialer SOCKS5拨号器 |
| 300 | type socks5Dialer struct { |
| 301 | dialer proxy.Dialer |
| 302 | config *ProxyConfig |
| 303 | stats *ProxyStats |
| 304 | } |
| 305 | |
| 306 | func (s *socks5Dialer) Dial(network, address string) (net.Conn, error) { |
| 307 | return s.DialContext(context.Background(), network, address) |
nothing calls this directly
no outgoing calls
no test coverage detected