package
0.13.0
Repository: https://github.com/clearcare/empire.git
Documentation: pkg.go.dev

# Functions

NewAdvisoryLock opens a new transaction and returns the AdvisoryLock.

# Variables

Canceled is returned when another process cancels this lock.
ErrLockTimeout is returned when obtaining the lock times out.

# Structs

AdvisoryLock wraps PostgresSQL advisory locks to act like a sync.Locker.