ifdata

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "ifdata"

Variables

View Source
var (
	ErrNoFormatter           = errors.New("no formatter was provided")
	ErrNoInterface           = errors.New("no interface was provided")
	ErrInterfaceMissing      = errors.New("interface missing from /proc/net/dev")
	ErrStatisticsUnsupported = errors.New("platform does not support interface statistics")
)
View Source
var ErrUnknownFormatter = errors.New("unknown formatter")

Functions

func ManOptions

func ManOptions() string

func New

func New(opts ...cobrax.Option) *cobra.Command

func UsageString

func UsageString(cmd *cobra.Command, full bool) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳