models

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	Fd          uint32
	Family      string
	Type        string
	Laddr       string
	Raddr       string
	Status      string
	Pid         int32
	ProcessName string
}

func FromNetConnectionStat

func FromNetConnectionStat(stat net.ConnectionStat, procCache map[int32]*process.Process) (Connection, map[int32]*process.Process)

type DetailedInfo

type DetailedInfo struct {
	Username string
	Cmdline  string
}

func GetDetailedInfo

func GetDetailedInfo(pid int32) DetailedInfo

Jump to

Keyboard shortcuts

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