package
0.33.0
Repository: https://github.com/target/goalert.git
Documentation: pkg.go.dev

# 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.

# Interfaces

Module is a processing lock module.
Setupable is an interface for types that can be set up using the job queue system.
Updatable is an interface for types that can be updated.

# Type aliases

Type indicates the lock type.