Dialer dials TLS connections given a configuration and a Dialer for the underlying connection.
| 648 | // Dialer dials TLS connections given a configuration and a Dialer for the |
| 649 | // underlying connection. |
| 650 | type Dialer struct { |
| 651 | // NetDialer is the optional dialer to use for the TLS connections' |
| 652 | // underlying TCP connections. |
| 653 | // A nil NetDialer is equivalent to the net.Dialer zero value. |
| 654 | NetDialer *net.Dialer |
| 655 | |
| 656 | // Config is the TLS configuration to use for new connections. |
| 657 | // A nil configuration is equivalent to the zero |
| 658 | // configuration; see the documentation of Config for the |
| 659 | // defaults. |
| 660 | Config *Config |
| 661 | } |
| 662 | |
| 663 | // Dial connects to the given network address and initiates a TLS |
| 664 | // handshake, returning the resulting TLS connection. |
nothing calls this directly
no outgoing calls
no test coverage detected