Versions in this module Expand all Collapse all v0 v0.0.1 Sep 18, 2023 Changes in this version + var ErrNotFound = E.New("process not found") + type Config struct + Logger log.ContextLogger + PackageManager tun.PackageManager + type Info struct + PackageName string + ProcessPath string + User string + UserId int32 + func FindProcessInfo(searcher Searcher, ctx context.Context, network string, source netip.AddrPort, ...) (*Info, error) + type Searcher interface + FindProcessInfo func(ctx context.Context, network string, source netip.AddrPort, ...) (*Info, error) + func NewSearcher(_ Config) (Searcher, error) + func NewSearcher(config Config) (Searcher, error)