network

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2016 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network struct {
	Total int64

	// TODO Implement RAW sockets
	RAW struct{}
	// TODO Implement UDP sockets
	UDP struct{}

	TCP struct {
		Total int64
		V4    TCPStat
		V6    TCPStat
	}
}

func New

func New() *Network

type TCPStat

type TCPStat struct {
	Established int64
	Closed      int64
	Orphaned    int64
	Synrecv     int64
	Timewait    int64
}

Jump to

Keyboard shortcuts

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