package
1.30.0
Repository: https://github.com/coreos/rocket.git
Documentation: pkg.go.dev

# Functions

CleanKeyLocks remove lock files from the lockDir.
ExclusiveLock takes an exclusive lock on a key.
ExclusiveLock takes an exclusive lock on a file/directory.
NewKeyLock returns a KeyLock for the specified key without acquisition.
NewLock opens a new lock on a file without acquisition.
SharedLock takes a co-operative (shared) lock on a key.
SharedLock takes a co-operative (shared) lock on a file/directory.
TryExclusiveLock takes an exclusive lock on the key without blocking.
TryExclusiveLock takes an exclusive lock on a file/directory without blocking.
TrySharedLock takes a co-operative (shared) lock on a key without blocking.
TrySharedLock takes a co-operative (shared) lock on a file/directory without blocking.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

FileLock represents a lock on a regular file or a directory.
KeyLock is a lock for a specific key.

# Type aliases

No description provided by the author