# Functions
NewLock will return a new Lock for the given Config.
# Constants
Recognized types.
Recognized types.
Recognized types.
Recognized types.
Recognized types.
Recognized types.
Recognized types.
Recognized types.
Recognized types.
Recognized types.
Recognized types.
Recognized types.
# Variables
ErrNoLock is returned when a lock can not be acquired due to normal causes.
# Structs
Config defines the parameters of the lock.
Conn allows using locked transactions over a single connection.
A Lock is used to start "locked" transactions.
SetupArgs is a struct that contains the arguments for the setup function.
State manages the state value for a processing lock.
# Type aliases
Type indicates the lock type.