pgxpoolv5

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PoolOpener added in v0.0.10

func PoolOpener(opts ...func(*PoolOpenerConfig)) pgxpoolv5.PoolOpener

func PoolOpenerWithTracerCallback added in v0.0.9

func PoolOpenerWithTracerCallback(opts ...func(*PoolOpenerWithTracerConfig)) func(*pgxpool.Pool) error

func WithOtelPgxOptBuilder added in v0.0.10

func WithOtelPgxOptBuilder(b func(poolCfg *pgxpool.Config) []otelpgx.Option) func(*PoolOpenerConfig)

func WithOtelPgxOptBuilder2 added in v0.0.10

func WithOtelPgxOptBuilder2(b func(pool *pgxpool.Pool) []otelpgx.Option) func(*PoolOpenerWithTracerConfig)

Types

type PoolOpenerConfig added in v0.0.10

type PoolOpenerConfig struct {
	OtelPgxPoolConfigOptBuilder func(poolCfg *pgxpool.Config) []otelpgx.Option
}

type PoolOpenerWithTracerConfig added in v0.0.10

type PoolOpenerWithTracerConfig struct {
	OtelPgxPoolOptBuilder func(pool *pgxpool.Pool) []otelpgx.Option
}

Jump to

Keyboard shortcuts

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