Versions in this module Expand all Collapse all v0 v0.1.1 Feb 11, 2024 Changes in this version + func InTransaction(ctx context.Context, p *pgxpool.Pool, f func(tx pgx.Tx) error) error + type Pool struct + func New(u string, l *zap.Logger, sp *state.Provider) (*Pool, error) + func (p *Pool) Close() + func (p *Pool) Collect(ch chan<- prometheus.Metric) + func (p *Pool) Describe(ch chan<- *prometheus.Desc) + func (p *Pool) Get(username, password string) (*pgxpool.Pool, error) + func (p *Pool) GetAny() *pgxpool.Pool v0.1.0 Feb 11, 2024