Top 0.7% dependent packages on proxy.golang.org
Top 0.8% dependent repos on proxy.golang.org
Top 4.2% forks on proxy.golang.org
Top 1.3% docker downloads on proxy.golang.org
proxy.golang.org : cloud.google.com/go/cloudsqlconn
Package cloudsqlconn provides functions for authorizing and encrypting connections. These functions can be used with a database driver to connect to a Cloud SQL instance. The instance connection name for a Cloud SQL instance is always in the format "project:region:instance". To start working with this package, create a Dialer. There are two ways of creating a Dialer, which one you use depends on your database driver. Postgres users have the option of using the database/sql interface or using pgx directly. To use a dialer with pgx, we recommend using connection pooling with pgxpool. To create the dialer use the NewDialer func. To use database/sql, call pgxv4.RegisterDriver with any necessary Dialer configuration. Note: the connection string must use the keyword/value format with host set to the instance connection name. The returned cleanup func will stop the dialer's background refresh goroutine and so should only be called when you're done with the Dialer. MySQL users should use database/sql. Use mysql.RegisterDriver with any necessary Dialer configuration. Note: The returned cleanup func will stop the dialer's background refresh goroutine and should only be called when you're done with the Dialer. SQL Server users should use database/sql. Use mssql.RegisterDriver with any necessary Dialer configuration. Note: The returned cleanup func will stop the dialer's background refresh goroutine and should only be called when you're done with the Dialer.
Registry
- Homepage
- Documentation
- JSON
purl: pkg:golang/cloud.google.com/go/cloudsqlconn
Keywords:
cloudsql
, go
, golang
, libraries
License: Apache-2.0
Latest release: about 2 months ago
First release: about 3 years ago
Namespace: cloud.google.com/go
Dependent packages: 91
Dependent repositories: 59
Stars: 92 on GitHub
Forks: 27 on GitHub
Docker dependents: 38
Docker downloads: 8,134,549
Total Commits: 571
Committers: 17
Average commits per author: 33.588
Development Distribution Score (DDS): 0.464
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 23 days ago