vertica-sql-go
vertica-sql-go copied to clipboard
Feat request: add custom Dialer
All (good) database drivers provide some way to inject custom net.Dialer
https://pkg.go.dev/github.com/microsoft/go-mssqldb#Connector.Dialer https://pkg.go.dev/github.com/ClickHouse/clickhouse-go/v2#Options.DialContext https://pkg.go.dev/github.com/go-sql-driver/mysql#Config.DialFunc (in future release, v1.8.2) https://pkg.go.dev/github.com/jackc/pgx/[email protected]/pgconn#Config.DialFunc
It's useful for seamless SSH tunneling. Then we can put in https://pkg.go.dev/golang.org/x/crypto/ssh#Client.DialContext