Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialer ¶
type Dialer struct {
// contains filtered or unexported fields
}
Dialer connects to Cloud SQL instances the way the Cloud SQL Auth Proxy does: TLS 1.3 to the instance's server-side proxy, authenticated by an ephemeral client certificate from the Admin API. The returned connection speaks the database protocol directly, so a Postgres driver dials through it with its own TLS turned off.
func New ¶
func New(client *cloud_sql.Client, loginTokenSource token_source.TokenSource, options ...dialer_config.Option) (*Dialer, error)
Click to show internal directories.
Click to hide internal directories.