Documentation
¶
Index ¶
Constants ¶
View Source
const FileLockPollInterval = 50 * time.Millisecond
FileLockPollInterval is how often to retry acquiring the file lock.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Locker ¶
type Locker struct {
// contains filtered or unexported fields
}
Locker provides file-based locking with timeout.
Click to show internal directories.
Click to hide internal directories.