dbpool

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(ctx context.Context, connectionString string) (*pgxpool.Pool, error)

Open creates a pgx pool from a connection string, registers UUID mappings, and verifies connectivity with Ping.

func OpenWithOptions

func OpenWithOptions(
	ctx context.Context,
	connectionString string,
	options ...poolConfigOption,
) (*pgxpool.Pool, error)

OpenWithOptions creates a pgx pool with optional configuration hooks.

func WithTracing

func WithTracing() poolConfigOption

WithTracing installs the application pgx tracer on the pool config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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