Top 0.1% dependent packages on proxy.golang.org
Top 0.1% dependent repos on proxy.golang.org
Top 2.3% forks on proxy.golang.org
Top 0.1% docker downloads on proxy.golang.org
proxy.golang.org : github.com/vishvananda/netns
Package netns allows ultra-simple network namespace handling. NsHandles can be retrieved and set. Note that the current namespace is thread local so actions that set and reset namespaces should use LockOSThread to make sure the namespace doesn't change due to a goroutine switch. It is best to close NsHandles when you are done with them. This can be accomplished via a `defer ns.Close()` on the handle. Changing namespaces requires elevated privileges, so in most cases this code needs to be run as root.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/vishvananda/netns
License: Apache-2.0
Latest release: 9 months ago
First release: over 2 years ago
Namespace: github.com/vishvananda
Dependent packages: 2,918
Dependent repositories: 21,989
Stars: 302 on GitHub
Forks: 131 on GitHub
Docker dependents: 3,359
Docker downloads: 15,164,733,358
See more repository details: repos.ecosyste.ms
Last synced: about 16 hours ago