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

Method UseSSL

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

UseSSL: use default SSL pass to options when connect

(insecureSkipVerify bool)

Source from the content-addressed store, hash-verified

138// UseSSL: use default SSL
139// pass to options when connect
140func (c *Conn) UseSSL(insecureSkipVerify bool) {
141 c.tlsConfig = &tls.Config{InsecureSkipVerify: insecureSkipVerify}
142}
143
144// SetTLSConfig: use user-specified TLS config
145// pass to options when connect

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected