package
Version:
v8.7.2
Opens a new window with list of versions in this module.
Published: Sep 19, 2024
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
¶
Package locking provides functions for acquiring and releasing MySQL advisory locks.
Acquire acquires a MySQL advisory lock.
Returns a release function and an error.
It's the responsibility of the caller to release the lock by calling the release function.
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.