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 defines a type for applying various configurations to the Postgres struct
func ConnAttempts ¶
ConnAttempts sets the number of attempts to reconnect to the Postgres database
func ConnTimeout ¶
ConnTimeout sets the connection timeout duration for the Postgres database
func MaxPoolSize ¶
MaxPoolSize sets the maximum number of connections in the Postgres connection pool
Click to show internal directories.
Click to hide internal directories.