process

package
v1.13.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: GPL-2.0 Imports: 20 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = E.New("process not found")

Functions

func FindProcessInfo

func FindProcessInfo(searcher Searcher, ctx context.Context, network string, source netip.AddrPort, destination netip.AddrPort) (*adapter.ConnectionOwner, error)

Types

type Config added in v1.0.1

type Config struct {
	Logger         log.ContextLogger
	PackageManager tun.PackageManager
}

type Searcher

type Searcher interface {
	FindProcessInfo(ctx context.Context, network string, source netip.AddrPort, destination netip.AddrPort) (*adapter.ConnectionOwner, error)
}

func NewSearcher

func NewSearcher(config Config) (Searcher, error)

Jump to

Keyboard shortcuts

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