Documentation
¶
Overview ¶
Package fslock provides advisory whole-file locks for cross-process coordination. Unix only; other platforms return ErrUnsupported.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrLocked is returned by a nonblocking Acquire when another holder exists. ErrLocked = errors.New("fslock: already locked") // ErrUnsupported is returned on platforms without lock support. ErrUnsupported = errors.New("fslock: not supported on this platform") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.