httppostgres

package module
v0.0.0-...-109bf6c Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Library for configuring PostgreSQL connection pool

Index

Constants

This section is empty.

Variables

View Source
var DbPool *pgxpool.Pool

Postgres connection pool https://pkg.go.dev/github.com/jackc/pgx/v5@v5.10.0/pgxpool#Pool

Functions

func Config

func Config() error

Configures the connection and connects to a PostgreSQL database. Uses variable PG_CONN_STRING that should be in the format specified here: https://pkg.go.dev/github.com/jackc/pgx/v5@v5.10.0/pgxpool#ParseConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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