Versions in this module Expand all Collapse all v0 v0.0.1 Dec 12, 2023 Changes in this version + const RetryAttempts + const RetryDelay + func TryWithAttempts(f func() error, attempts uint, delay time.Duration) (err error) + func TryWithAttemptsCtx(ctx context.Context, f func(context.Context) error, attempts uint, ...) (err error) + type Client struct + func BadCli(t testing.TB) *Client + func New(uri string, log *zap.Logger) (*Client, error) + func NewTest(t testing.TB) (*Client, func()) + func (cli *Client) L() *zap.Logger + func (cli *Client) P() *pgxpool.Pool