SetTLSConfig: use user-specified TLS config pass to options when connect
(config *tls.Config)
| 144 | // SetTLSConfig: use user-specified TLS config |
| 145 | // pass to options when connect |
| 146 | func (c *Conn) SetTLSConfig(config *tls.Config) { |
| 147 | c.tlsConfig = config |
| 148 | } |
| 149 | |
| 150 | func (c *Conn) UseDB(dbName string) error { |
| 151 | if c.db == dbName { |
nothing calls this directly
no outgoing calls
no test coverage detected