package
0.0.0-20240121131326-79cd53a1c7e3
Repository: https://github.com/crypto-zero/cz-go-micro.git
Documentation: pkg.go.dev

# Packages

Package etcd is an etcd implementation of lock.
Package memory provides a sync.Mutex implementation of the lock for local use.

# Functions

LockTTL sets the lock ttl.
LockWait sets the wait time.
Nodes sets the addresses to use.
Prefix sets a prefix to any lock ids used.

# Variables

No description provided by the author

# Structs

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

# Interfaces

Leader provides leadership election.
Sync is an interface for distributed synchronization.

# Type aliases

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