Discover Packages
github.com/bartventer/gorm-multitenancy/postgres/v8
internal
locking
package
Version:
v8.9.0
Opens a new window with list of versions in this module.
Published: Jul 11, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package locking provides functions for acquiring and releasing PostgreSQL advisory locks.
AcquireXact acquires a PostgreSQL transaction-level advisory lock.
The caller is responsible for ensuring that a transaction is active,
and that the lock is released after use.
Option is a function that applies an option to an Options instance.
WithRetry sets the retry options.
Options represents the locking options.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.