MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / SetTLSConfig

Method SetTLSConfig

IceFireDB-SQLProxy/pkg/mysql/client/conn.go:146–148  ·  view source on GitHub ↗

SetTLSConfig: use user-specified TLS config pass to options when connect

(config *tls.Config)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected