package
0.0.0-20231219021310-a364eb7c1705
Repository: https://github.com/sjansen/stopgap.git
Documentation: pkg.go.dev
# Functions
New creates a DynamoStore instance using default values.
NewMutexRepoFake creates a DynamoStore instance using default values.
NewWithTableName create a DynamoStore instance, overriding the default table name.
# Constants
DefaultTableName is used when a more specific name isn't provided.
# Variables
ErrCreateTimedOut is returned when table creation takes too long.
ErrDeleteInProgress is returned when table creation fails because a table with the same name was recently deleted.
# Structs
DynamoStore stores mutex data in DynamoDB.
Mutex can be used to coordinate access to shared resources.
MutexRepoFake should only be used in tests.