Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ Variables type Config type Info func FindProcessInfo(searcher Searcher, ctx context.Context, network string, source netip.AddrPort, ...) (*Info, error) type Searcher func NewSearcher(config Config) (Searcher, error) Constants ¶ This section is empty. Variables ¶ View Source var ErrNotFound = E.New("process not found") Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Logger log.ContextLogger PackageManager tun.PackageManager } type Info ¶ type Info struct { ProcessPath string PackageName string User string UserId int32 } func FindProcessInfo ¶ func FindProcessInfo(searcher Searcher, ctx context.Context, network string, source netip.AddrPort, destination netip.AddrPort) (*Info, error) type Searcher ¶ type Searcher interface { FindProcessInfo(ctx context.Context, network string, source netip.AddrPort, destination netip.AddrPort) (*Info, error) } func NewSearcher ¶ func NewSearcher(config Config) (Searcher, error) Source Files ¶ View all Source files searcher.go searcher_linux.go searcher_linux_shared.go Click to show internal directories. Click to hide internal directories.