db

package
v0.0.0-...-8699099 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DBPool *pgxpool.Pool

Initialize our DBPool

Functions

func New

func New(connString string, maxOpenConns, maxIdleConns int, maxIdleTime string) (*pgxpool.Pool, error)

New initializes and returns a new database connection pool with the specified settings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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