Versions in this module Expand all Collapse all v1 v1.0.1 Sep 16, 2026 v1.0.0 Sep 16, 2026 Changes in this version + var DefaultRetry = Retry + var ErrMissingEndpoint = errors.New("endpoint is required") + var ErrMissingRegion = errors.New("region is required") + var ErrMissingRole = errors.New("role is required") + var ErrRetriesExhausted = errors.New("transaction kept conflicting") + func InTx(ctx context.Context, db Beginner, fn func(pgx.Tx) error) error + func Open(ctx context.Context, config Config) (*pgxpool.Pool, error) + type Beginner interface + Begin func(ctx context.Context) (pgx.Tx, error) + type Config struct + Credentials aws.CredentialsProvider + Endpoint string + MaxConnections int32 + Region string + Role string + type Retry struct + Attempts int + BaseDelay time.Duration + func (r Retry) InTx(ctx context.Context, db Beginner, fn func(pgx.Tx) error) error