-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels