package
0.0.0-20230621192005-a3585edfaa0e
Repository: https://github.com/coreos/airlock.git
Documentation: pkg.go.dev

# Functions

NewManager returns a new lock manager, ensuring the underlying semaphore is initialized.
NewSemaphore returns a new empty semaphore.

# Variables

ErrNilManager is returned on nil manager.
ErrNilSemaphore is returned on nil semaphore.

# Structs

Manager takes care of locking for clients.
Semaphore is a struct representation of the information held by the semaphore.