Skip to content

Commit 64b4064

Browse files
committed
Add comment to UseSslOption
1 parent a58c93e commit 64b4064

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

driver/driver_options.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import (
1212
// The value represents the query string parameter value supplied by in the DNS.
1313
type DriverOption func(c *client.Conn, value string) error
1414

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
1517
func UseSslOption(c *client.Conn) error {
1618
c.UseSSL(true)
1719
return nil

0 commit comments

Comments
 (0)