package
0.4.2
Repository: https://github.com/clever/dynamodb-lock-go.git
Documentation: pkg.go.dev

# Functions

NewLocker returns a Locker which talks to the given DynamoDB table using the given DynamoDBAPI, and logs to the given logger.

# Structs

AcquireAnyLockInput is the input to AcquireAnyLock.
AcquireLockInput is the input to AcquireLock.
HeartbeatLockInput is the input to AcquireLock.
Lock is a representation of a row in the lock table.
UnavailableError represents an attempt to get or update a lock has a different owner.

# Interfaces

Locker is an interface for acquiring and releasing locks on keys with support for automatic lock expiration via leases.