Documentation ¶
Index ¶
Constants ¶
View Source
const DriverName = "postgres"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type Conf struct { ConnPool *internal.ConnPoolConf `yaml:"connPool" conf:",example=\n maxLifeTime: 60m\n maxIdleTime: 45s\n maxOpen: 4\n maxIdle: 1"` // URL is the Postgres connection URL. See https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING URL string `yaml:"url" conf:"required,example=\"postgres://user:password@localhost:port/db\""` }
Conf is required (if driver is set to 'postres') configuration for postres driver. +desc=This section is required only if storage.driver is postgres.
Click to show internal directories.
Click to hide internal directories.