Package Usage: go: cirello.io/pglock
Package pglock provides a simple utility for using PostgreSQL for managing
distributed locks.
In order to use this package, the client must create a table in the database,
although the client provides a convenience method for creating that table
(CreateTable).
Basic usage:
pglock.Client.Do can be used for long-running processes:
This package is covered by this SLA:
https://github.com/cirello-io/public/blob/master/SLA.md
19 versions
Latest release: over 1 year ago
15 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/cirello.io/pglock