Documentation ¶
Index ¶
- func PoolOpener(opts ...func(*PoolOpenerConfig)) pgxpoolv5.PoolOpener
- func PoolOpenerWithTracerCallback(opts ...func(*PoolOpenerWithTracerConfig)) func(*pgxpool.Pool) error
- func WithOtelPgxOptBuilder(b func(poolCfg *pgxpool.Config) []otelpgx.Option) func(*PoolOpenerConfig)
- func WithOtelPgxOptBuilder2(b func(pool *pgxpool.Pool) []otelpgx.Option) func(*PoolOpenerWithTracerConfig)
- type PoolOpenerConfig
- type PoolOpenerWithTracerConfig
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
Click to show internal directories.
Click to hide internal directories.