proxy.golang.org : cloud.google.com/go/cloudsqlconn : v1.17.2
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 -
Documentation -
Download -
JSON
purl: pkg:golang/cloud.google.com/go/cloudsqlconn@v1.17.2
Published:
Indexed:
- cloud.google.com/go/auth v0.16.2
- cloud.google.com/go/auth/oauth2adapt v0.2.8
- cloud.google.com/go/compute/metadata v0.7.0
- filippo.io/edwards25519 v1.1.0
- github.com/felixge/httpsnoop v1.0.4
- github.com/go-logr/logr v1.4.2
- github.com/go-logr/stdr v1.2.2
- github.com/go-sql-driver/mysql v1.9.2
- github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9
- github.com/golang-sql/sqlexp v0.1.0
- github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
- github.com/google/s2a-go v0.1.9
- github.com/google/uuid v1.6.0
- github.com/googleapis/enterprise-certificate-proxy v0.3.6
- github.com/googleapis/gax-go/v2 v2.14.2
- github.com/jackc/chunkreader/v2 v2.0.1
- github.com/jackc/pgconn v1.14.3
- github.com/jackc/pgio v1.0.0
- github.com/jackc/pgpassfile v1.0.0
- github.com/jackc/pgproto3/v2 v2.3.3
- github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761
- github.com/jackc/pgtype v1.14.0
- github.com/jackc/pgx/v4 v4.18.3
- github.com/jackc/pgx/v5 v5.7.5
- github.com/jackc/puddle/v2 v2.2.2
- github.com/microsoft/go-mssqldb v1.8.2
- github.com/pkg/errors v0.9.1
- go.opencensus.io v0.24.0
- go.opentelemetry.io/auto/sdk v1.1.0
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0
- go.opentelemetry.io/otel v1.36.0
- go.opentelemetry.io/otel/metric v1.36.0
- go.opentelemetry.io/otel/trace v1.36.0
- golang.org/x/crypto v0.39.0
- golang.org/x/net v0.41.0
- golang.org/x/oauth2 v0.30.0
- golang.org/x/sync v0.15.0
- golang.org/x/sys v0.33.0
- golang.org/x/text v0.26.0
- golang.org/x/time v0.12.0
- google.golang.org/api v0.236.0
- google.golang.org/genproto/googleapis/rpc v0.0.0-20250528174236-200df99c418a
- google.golang.org/grpc v1.73.0
- google.golang.org/protobuf v1.36.6