package
0.0.0-20240420182116-ac96246ab101
Repository: https://github.com/f110/github-400-test.git
Documentation: pkg.go.dev
# Functions
NewDRWMutex - initializes a new dsync RW mutex.
# Constants
Response codes for a locking request.
Response codes for a locking request.
Response codes for a locking request.
Response codes for a locking request.
Response codes for a locking request.
# Variables
DefaultTimeouts contains default timeouts.
# Structs
A DRWMutex is a distributed mutual exclusion lock.
Dsync represents dsync client object which is initialized with authenticated clients, used to initiate lock REST calls.
Granted - represents a structure of a granted lock.
LockArgs is minimal required values for any dsync compatible lock operation.
LockResp is a locking request response.
Options lock options.
Timeouts are timeouts for specific operations.
# Interfaces
NetLocker is dsync compatible locker interface.
# Type aliases
ResponseCode is the response code for a locking request.