Dialer dials TLS connections given a configuration and a Dialer for the underlying connection.
| 174 | // Dialer dials TLS connections given a configuration and a Dialer for the |
| 175 | // underlying connection. |
| 176 | type Dialer struct { |
| 177 | // NetDialer is the optional dialer to use for the TLS connections' |
| 178 | // underlying TCP connections. |
| 179 | // A nil NetDialer is equivalent to the net.Dialer zero value. |
| 180 | NetDialer *net.Dialer |
| 181 | |
| 182 | // Config is the TLS configuration to use for new connections. |
| 183 | // A nil configuration is equivalent to the zero |
| 184 | // configuration; see the documentation of Config for the |
| 185 | // defaults. |
| 186 | Config *Config |
| 187 | } |
| 188 | |
| 189 | // Dial connects to the given network address and initiates a TLS |
| 190 | // handshake, returning the resulting TLS connection. |
nothing calls this directly
no outgoing calls
no test coverage detected