GoogleCloudPlatform/cloud-sql-go-connector

Add a DialOption that specifies a dialer

Closed this issue · 0 comments

enocom commented

Feature Description

Presently, callers can specify a single dialer across all instances. Sometimes, it's helpful to specify a dialer on a per-Dial invocation. This is a feature request to add a DialOption like so:

func WithDialer(d cloudsql.Dialer) DialOption { /* ... */ }