procnetdev

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RxBytes   = "rxbytes"
	RxErrors  = "rxerrors"
	TxBytes   = "txbytes"
	TxErrors  = "txerrors"
	RxPackets = "rxpackets"
	RxDropped = "rxdropped"
	TxPackets = "txpackets"
	TxDropped = "txdropped"
)

Variables

Functions

This section is empty.

Types

type ProcNetdev

type ProcNetdev struct {
}

func (*ProcNetdev) CollectOnce added in v1.0.0

func (s *ProcNetdev) CollectOnce() (map[string]map[uint32]uint64, error)

func (*ProcNetdev) Start

func (s *ProcNetdev) Start(_ context.Context) error

func (*ProcNetdev) Stop added in v1.0.0

func (s *ProcNetdev) Stop(_ context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL