Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Address config.Secret `toml:"address"`
OutputAddress string `toml:"outputaddress"`
MaxIdle int `toml:"max_idle"`
MaxOpen int `toml:"max_open"`
MaxLifetime config.Duration `toml:"max_lifetime"`
// IsPgBouncer marks a connection to the PgBouncer admin console, which
// only understands PgBouncer's own SHOW commands
IsPgBouncer bool `toml:"-"`
// SimpleProtocol disables prepared statements, required for the admin
// console and for servers reached through a PgBouncer in transaction mode
SimpleProtocol bool `toml:"-"`
}
func (*Config) CreateService ¶
Click to show internal directories.
Click to hide internal directories.