We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a58c93e commit 64b4064Copy full SHA for 64b4064
driver/driver_options.go
@@ -12,6 +12,8 @@ import (
12
// The value represents the query string parameter value supplied by in the DNS.
13
type DriverOption func(c *client.Conn, value string) error
14
15
+// UseSslOption sets the connection to use a tls.Config with InsecureSkipVerify set to true.
16
+// Use SetTLSConfig() if you need a custom tls.Config
17
func UseSslOption(c *client.Conn) error {
18
c.UseSSL(true)
19
return nil
0 commit comments