Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Postgres database connection url. URL string // Maximum pool connections to postgres database. MaxConns int32 // Minimum pool connections to postgres database. MinConns int32 // Database logger. Logger pgx.Logger // Added a new custom types. Types []types.DataType }
Postgres pool connection config.
Click to show internal directories.
Click to hide internal directories.