postgres

package
v0.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() (*sql.DB, error)

SetupPostgreSQLConnection opens a PostgreSQL connection using the provided config and configures the connection pool. Retries cfg.RetryCount times before giving up; exhausting retries is fatal.

func InitWithCustomConfig added in v0.8.0

func InitWithCustomConfig(cfg config.PostgreSQLConfig, connection string) (*sql.DB, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL