Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfig ¶
func NewConfig(options ...ConnConfigOption) (pgx.ConnConfig, error)
Types ¶
type ConnConfigOption ¶
type ConnConfigOption interface {
Configure(config *pgx.ConnConfig) error
}
type RdsIamConfigOption ¶
func (RdsIamConfigOption) Configure ¶ added in v0.4.2
func (r RdsIamConfigOption) Configure(config *pgx.ConnConfig) error
type TlsConfigOption ¶
type TlsConfigOption struct {
Host string
}
func (TlsConfigOption) Configure ¶ added in v0.4.2
func (t TlsConfigOption) Configure(config *pgx.ConnConfig) error
Click to show internal directories.
Click to hide internal directories.