One Go interface, five backends — filelock, flock, Redis, Postgres, etcd. Distributed locks with fencing tokens, semaphore mode, observability hooks, and TraceID propagation. Swap backends with one line.
golangconcurrencylocketcdsemaphoremutexdistributed-lockleader-electionredis-lockflockgo-libraryadvisory-lockfencing-tokenspostgres-lockcron-singleton
-
Updated
May 4, 2026 - Go