Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct {
// Total sockets the machine is maintaining of all types.
Total int64
// TODO Implement RAW sockets
RAW struct{}
// TODO Implement UDP sockets
UDP struct{}
// TCP socket information.
TCP struct {
// Total TCP sockets
Total int64
Established int64
Closed int64
Orphaned int64
Synrecv int64
Timewait int64
}
}
Network returns network information about the machine.
Click to show internal directories.
Click to hide internal directories.