Documentation ¶
Index ¶
Constants ¶
View Source
const (
// UnidentifiedProcessID is originally defined in the process pkg, but duplicated here because of import loops.
UnidentifiedProcessID = -1
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindInfo ¶
BindInfo holds socket information returned by the system.
type ConnectionInfo ¶
ConnectionInfo holds socket information returned by the system.
func (*ConnectionInfo) GetInode ¶ added in v0.4.12
func (i *ConnectionInfo) GetInode() int
GetInode returns the Inode.
func (*ConnectionInfo) GetPID ¶ added in v0.4.12
func (i *ConnectionInfo) GetPID() int
GetPID returns the PID.
func (*ConnectionInfo) GetUID ¶ added in v0.4.12
func (i *ConnectionInfo) GetUID() int
GetUID returns the UID.
func (*ConnectionInfo) SetPID ¶ added in v0.4.12
func (i *ConnectionInfo) SetPID(pid int)
SetPID sets the PID to the given value.
Click to show internal directories.
Click to hide internal directories.