net

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NsIfaceIDByPID added in v0.4.0

func NsIfaceIDByPID(pid string) (int, error)

Types

type NetMonitor added in v0.4.0

type NetMonitor struct {
	// contains filtered or unexported fields
}

func NewNetMonitor added in v0.4.0

func NewNetMonitor() *NetMonitor

func (*NetMonitor) GetUsage added in v0.4.0

func (monitor *NetMonitor) GetUsage(id string) (Usage, error)

func (*NetMonitor) Start added in v0.4.0

func (monitor *NetMonitor) Start()

type Usage added in v0.3.0

type Usage client.NetUsage

Jump to

Keyboard shortcuts

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