dbpool

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigurePGX

func ConfigurePGX(config *pgxpool.Config, dsn string)

ConfigurePGX applies conservative defaults to long-lived application pools. Explicit env vars win, then explicit pgxpool DSN params, then defaults.

func ConfigureSQL

func ConfigureSQL(db *sql.DB)

ConfigureSQL applies conservative defaults to database/sql pools.

Types

This section is empty.

Jump to

Keyboard shortcuts

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