Documentation ¶
Overview ¶
Package dlocker is a distributed locker for distributed objects whose access requires synchronization. The objects may reside in same process or different processes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrLeaseTimeExceeded happens when lock is held for longer that lease time ErrLeaseTimeExceeded = fmt.Errorf("maximum lease time is %d seconds", 10) // ErrLockNotHeld happens when calling Release on a locker that is Released ErrLockNotHeld = errors.New("lock is released") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.