Dial connects to the given network address using net.Dial and then initiates a TLS handshake, returning the resulting TLS connection. Dial interprets a nil configuration as equivalent to the zero configuration; see the documentation of Config for the defaults.
(network, addr string, config *Config)
| 642 | // the zero configuration; see the documentation of Config |
| 643 | // for the defaults. |
| 644 | func Dial(network, addr string, config *Config) (*Conn, error) { |
| 645 | return DialWithDialer(new(net.Dialer), network, addr, config) |
| 646 | } |
| 647 | |
| 648 | // Dialer dials TLS connections given a configuration and a Dialer for the |
| 649 | // underlying connection. |
nothing calls this directly
no test coverage detected
searching dependent graphs…