An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/moby/locker

Package locker provides a mechanism for creating finer-grained locking to help free up more global locks to handle other tasks. The implementation looks close to a sync.Mutex, however the user must provide a reference to use to refer to the underlying lock when locking and unlocking, and unlock may generate an error. If a lock with a given name does not exist when `Lock` is called, one is created. Lock references are automatically cleaned up on `Unlock` if nothing else is waiting for the lock.

Ecosystem
proxy.golang.org
Latest Release
v1.0.1
over 5 years ago
Versions
2
Dependent Packages
1,894
Dependent Repos
12,582
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/moby/locker
spec
License Apache-2.0
Namespace github.com/moby
First Release over 5 years ago
Last Synced about 5 hours ago
Repository
Stars 12 on GitHub
Forks 7 on GitHub
Docker Dependents 4,491
Docker Downloads 18,094,030,698
Rankings on proxy.golang.org
Overall Top 3.4%
Dependent packages Top 0.1%
Dependent repos Top 0.1%
Forks Top 7.4%
Docker downloads Top 0.1%