Documentation ¶
Overview ¶
Package netstat returns the local machine's network connection table.
Package netstat returns the local machine's network connection table.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotImplemented = errors.New("not implemented for GOOS=" + runtime.GOOS)
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
Local, Remote netip.AddrPort
Pid int
State string // TODO: type?
OSMetadata OSMetadata
}
type OSMetadata ¶ added in v1.36.0
OSMetadata includes any additional OS-specific information that may be obtained during the retrieval of a given Entry.
Click to show internal directories.
Click to hide internal directories.