Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrLocked ... ErrLocked = errors.New("already locked by another process") // ErrAlreadyLocked ... ErrAlreadyLocked = errors.New("the lockfile is already locked") // ErrAlreadyUnlocked ... ErrAlreadyUnlocked = errors.New("already unlocked") // ErrInvalidPID ... ErrInvalidPID = errors.New("invalid pid") )
Functions ¶
This section is empty.
Types ¶
type LockFile ¶
type LockFile struct { File string // contains filtered or unexported fields }
LockFile ...
Click to show internal directories.
Click to hide internal directories.