Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Postgres)
Option - Option type
func ConnectionTimeout ¶ added in v0.2.0
ConnectionTimeout - Returns connection timeout
func MaxOpenConnections ¶ added in v0.2.0
MaxOpenConnections - Defines maximum open connections for postgresql db
type Postgres ¶
type Postgres struct { Builder squirrel.StatementBuilderType Pool *pgxpool.Pool // contains filtered or unexported fields }
Postgres - Structure for Postresql instance
func (*Postgres) GetEngineType ¶
GetEngineType - Get the engine type which is postgresql in string
Click to show internal directories.
Click to hide internal directories.