Documentation ¶
Overview ¶
Package pgx provides for ssh postgres connections via the github.com/jackc/pgx package
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TunnelDriver sshdb.Driver = tunnelDriver("pgx")
TunnelDriver is used to register the postgres sql driver pgx version3
Functions ¶
func SetConfigEdit ¶
func SetConfigEdit(cf ConfigFunc)
SetConfigEdit links a ConfigFunc to a dsn string. When creating a new connector, the dsn will be used to match the ConfigFunc.
Types ¶
type ConfigFunc ¶
type ConfigFunc func(*pgx.ConnConfig) error
ConfigFunc updates fields in a ConnConfig after it is created by parsing the passed dsn.
Click to show internal directories.
Click to hide internal directories.