Open
Description
How would I configure lib/pq
's TLS options directly?
go-sql-driver/mysql
offers RegisterTLSConfig
which accepts a *tls.Config
.
I have an application that is managing connections to hundreds of databases for secondary indexing, and the TLS configurations are not stored in files on that application - I just need to be able to build these TLS configs up manually.
If I'm not missing something obvious, would a PR that exposed this functionality be welcome?
Other pg drivers like https://github.com/jackc/pgx and https://github.com/go-pg/pg support this in an obvious way (a method or config object that accepts a tls config)
Metadata
Metadata
Assignees
Labels
No labels