Documentation
¶
Overview ¶
Package postgres provides the production PostgreSQL storage driver.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Host string
Username string
Password string
Name string
Port int
Timezone string
// MaxOpenConns defaults to 25. A positive value must be at least 2 because
// the maintenance leader pins one pooled connection while running queries on
// another.
MaxOpenConns int
MaxIdleConns int
ConnMaxLifetime time.Duration
ConnMaxIdleTime time.Duration
SSLMode string
Durability store.Durability
}
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) DriverName ¶
func (*Driver) NotificationHealthy ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.