Node_Exporter/vendor/github.com/ema/qdisc
Ben Kochie 0e77317955
Update netlink vendoring (#1471)
* github.com/ema/qdisc
* github.com/mdlayher/genetlink
* github.com/mdlayher/wifi

Signed-off-by: Ben Kochie <superq@gmail.com>
2019-09-05 15:35:13 +02:00
..
.travis.yml Update netlink vendoring (#1471) 2019-09-05 15:35:13 +02:00
get.go Update netlink vendoring (#1471) 2019-09-05 15:35:13 +02:00
go.mod Update netlink vendoring (#1471) 2019-09-05 15:35:13 +02:00
go.sum Update netlink vendoring (#1471) 2019-09-05 15:35:13 +02:00
LICENSE.md Add qdisc collector for Linux (#580) 2017-05-23 11:55:50 +02:00
Makefile Add qdisc collector for Linux (#580) 2017-05-23 11:55:50 +02:00
README.md Add qdisc collector for Linux (#580) 2017-05-23 11:55:50 +02:00

qdisc Build Status

Package qdisc allows to get queuing discipline information via netlink, similarly to what tc -s qdisc show does.

Example usage

package main

import (
    "fmt"

    "github.com/ema/qdisc"
)

func main() {
    info, err := qdisc.Get()

    if err == nil {
        for _, msg := range info {
            fmt.Printf("%+v\n", msg)
        }
    }
}