Versions in this module Expand all Collapse all v0 v0.2.0 Jul 22, 2026 v0.1.0 Jul 22, 2026 Changes in this version + func SystemListenSet() (map[int]int32, error) + type Classification int + const CandidateUp + const Partial + const StrayPort + func (c Classification) String() string + type Holder struct + Identity Identity + Port int + type Identity struct + Cmdline []string + Ours bool + PID int32 + func NewForeignIdentity(pid int32) (*Identity, error) + func NewOursIdentity(cmd *exec.Cmd) (*Identity, error) + type Result struct + Actual []int + Classification Classification + Declared []int + Degraded []int32 + ForeignHolders map[int]Identity + Missing []int + Stray []int + func Classify(declared []int, obs TreeObservation) Result + type TreeObservation struct + Degraded []int32 + Holders map[int]Holder + func ListenSet(rootPID int32) (TreeObservation, error) + func TreeListenSet(rootPID int32) (TreeObservation, error)