package
0.15.1
Repository: https://github.com/cisco-open/go-lanai.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

LeadershipLock returns globally maintained lock for leadership election To check leadership, use Lock.TryLock and check error.
LockWithKey returns a distributed Lock with given key.
NewJsonLockValuer is the default implementation of LockValuer.

# Constants

FxGroup is a group name for uber.fx.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Interfaces

Lock distributed mutex lock backed by external infrastructure service such as consul or redis.
SyncManager manage distributed locks across the application.
No description provided by the author

# Type aliases

No description provided by the author
LockValuer is used to annotate the lock in external infra service.