Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseDatabaseConnectionPool ¶
func CloseDatabaseConnectionPool()
CloseDatabaseConnectionPool closes the database connection pool
func GetDatabaseConnectionPool ¶
func GetDatabaseConnectionPool(config DatabaseConfig) (*pgxpool.Pool, error)
GetDatabaseConnectionPool returns a thread safe connection pool singleton
func GetDatabaseContext ¶
GetDatabaseContext returns a new context for database operations
Types ¶
Click to show internal directories.
Click to hide internal directories.