Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTimeoutExceeded = fmt.Errorf("timeout exceeded while trying to acquire lock")
Functions ¶
func GetDefaultFlockCount ¶
func GetDefaultFlockCount() int
func ShuffleLockFile ¶
Types ¶
type Flock ¶
type Flock struct {
// contains filtered or unexported fields
}
func (*Flock) WithRetryInterval ¶
Click to show internal directories.
Click to hide internal directories.