Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flock ¶
type Flock struct {
// contains filtered or unexported fields
}
Flock represents a handle on a file which can then be locked and unlocked to provide cross-process synchronization and locking.
func New ¶
New creates a new handle on a file. If the file does not exist then it is created. The parent directory must already exist before this is called.
Click to show internal directories.
Click to hide internal directories.