Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBusy = errors.New("Locked by other process")
ErrBusy means a different process has locked the file not used for LockWithTimeout
View Source
var ErrNotOwner = errors.New("Process does not own lockfile")
ErrNotOwner means there was an attempt to unlock a lockfile that was not owned by the current process
View Source
var ErrReadingLockfile = errors.New("Error reading lockfile")
ErrReadlingLockfile means it could not read the pid out of an existing lockfile
View Source
var ErrTimeout = errors.New("Timed out")
ErrTimeout means there was a timeout waiting for the lockfile to be available
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.