package
0.7.2
Repository: https://github.com/lucasbfernandes/go-client.git
Documentation: pkg.go.dev

# Functions

IfVersion sets the lock version to check.
New creates a new Lock primitive for the given partitions The lock will be created in one of the given partitions.
WithTimeout sets the lock timeout.

# Constants

Type is the lock type.

# Structs

IfVersionOption is a lock option for checking the version.

# Interfaces

Client provides an API for creating Locks.
IsLockedOption is an option for IsLocked calls.
Lock provides distributed concurrency control.
LockOption is an option for Lock callsnolint:golint.
UnlockOption is an option for Unlock calls.