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 ConnAttempts ¶
ConnAttempts - Returns connection attempts
func ConnTimeout ¶
ConnTimeout - Returns connection timeout
func MaxPoolSize ¶
MaxPoolSize - Defines maximum pool size 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.