Versions in this module Expand all Collapse all v0 v0.5.3 Aug 3, 2021 Changes in this version + type Pool struct + func NewPool(pool *pgxpool.Pool, retry time.Duration) *Pool + func (p *Pool) Lock(ctx context.Context, key string) error + func (p *Pool) TryLock(ctx context.Context, key string) (bool, error) + func (p *Pool) Unlock() error v0.5.2 Aug 3, 2021 v0.4.4 Aug 3, 2021