mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-15 10:04:22 -08:00
f9e91156d0
* Update vendor github.com/godbus/dbus@v4.1.0 * Update vendor github.com/golang/protobuf/proto * Update vendor github.com/mdlayher/netlink/... * Update vendor github.com/prometheus/client_golang/prometheus/... * Update vendor github.com/prometheus/client_model/go * Update vendor github.com/prometheus/common/... * Update vendor github.com/prometheus/procfs/... * Update vendor github.com/sirupsen/logrus@v1.0.4 * Update vendor golang.org/x/... * Update vendor gopkg.in/alecthomas/kingpin.v2 * Remove obsolete vendor github.com/mdlayher/netlink/genetlink |
||
---|---|---|
.. | ||
nlenc | ||
align.go | ||
attribute.go | ||
conn.go | ||
conn_linux.go | ||
conn_others.go | ||
doc.go | ||
fuzz.go | ||
LICENSE.md | ||
message.go | ||
README.md | ||
sockopt_linux.go | ||
sockopt_linux_386.go | ||
sockopt_linux_386.s |
netlink
Package netlink
provides low-level access to Linux netlink sockets.
MIT Licensed.
For more information about how netlink works, check out my blog series on Linux, Netlink, and Go.
If you're looking for package genetlink
, it's been moved to its own
repository at github.com/mdlayher/genetlink
.
Why?
A number of netlink packages are already available for Go, but I wasn't able to find one that aligned with what I wanted in a netlink package:
- Simple, idiomatic API
- Well tested
- Well documented
- Makes use of Go best practices
- Doesn't need root to work
My goal for this package is to use it as a building block for the creation of other netlink family packages.