metadata

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection added in v0.5.2

type Connection struct {
	LocalIP   netip.Addr
	LocalPort int
	Pid       int
}

func GetCurrentConnects added in v0.5.2

func GetCurrentConnects(ctx context.Context, pids []int, all bool) ([]Connection, error)

type ProcessCache

type ProcessCache struct {
	// contains filtered or unexported fields
}

func NewProcessCache

func NewProcessCache() *ProcessCache

func (*ProcessCache) AddItem

func (c *ProcessCache) AddItem(exec event.ProcessExec)

func (*ProcessCache) Get

func (c *ProcessCache) Get(pid int) event.ProcessExec

func (*ProcessCache) GetPidsByComm added in v0.5.2

func (c *ProcessCache) GetPidsByComm(name string) []int

func (*ProcessCache) Start

func (c *ProcessCache) Start()

Jump to

Keyboard shortcuts

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