gotrc

module
v0.0.0-...-6aa905a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: MIT

README

goTRC

A DynamoDB backed distributed locking system written in go


goTRC (short for time-release capsule) is a distributed locking implementation for golang. It has a few qualities which differentiate it from some other implementations.

Reached Goals

  • Uses golang-aws-sdk-v2
  • Leveled, structured logging using the accepted [slog] package.
  • Context native: can use context cancellation to implement automatic release of held locks
  • Substantial test coverage
  • Built-in lock expiration and lock heartbeats to avoid zombie locks

Future goals (Coming soon!)

  • flock-style cli wrapper for commands, such as database migrations
  • Automatic distributed testing suite

Alternatives:

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL