package
0.0.0-20201113045919-384ce832c029
Repository: https://github.com/systembuilders/lockey.git
Documentation: pkg.go.dev

# Packages

Package node will be responsible for maintaining all the code with respect to a single node.
No description provided by the author

# Functions

NewLockDescriptor returns an instance of the LockDescriptor.
NewObjectDescriptor returns an instance of the ObjectDescriptor.
NewSimpleConfig returns an instance of the SimpleConfig.
NewSimpleLockService creates and returns a new lock service ready to use.

# Constants

Constant errors.
Constant errors.
Constant errors.
Constant errors.
Constant errors.

# Structs

CheckAcquireRes is the response of a Checkacquire.
LockCheckRequest is an instance of a lock check request.
LockDescriptor implements the Descriptors interface.
LockRequest is an instance of a request for a lock.
ObjectDescriptor describes the object that is subjected to lock operations.
SafeLockMap is the lockserver's data structure.
SimpleConfig implements Config.
SimpleLockService is a lock service that implements LockService.

# Interfaces

Descriptors describe the type of data that a lock acquiring component must describe.
LockService describes a lock service component that enables maintaining a set of locks.
Object describes any object that can be used with the lockservice.

# Type aliases

Error provides constant error strings to the driver functions.