Skip to content

v1.14.1

Choose a tag to compare

@gsjonio gsjonio released this 11 Jul 20:38

Internal refactors from a self-audit, over v1.14.0. No behavior change — a patch bump. Every command works exactly as in v1.14.0.

Install

go install github.com/gsjonio/netwp/cmd/netwp@v1.14.1

Already have netwp? netwp update.

What changed (code health only)

  • Deleted the dead core.Waker port (defined, never used as a type).
  • NewDiscovery, RunMonitor and RunDashboard now take named-field config structs (DiscoveryDeps / MonitorConfig / DashboardConfig) instead of 8–10 positional args.
  • The alias, class-override and watch stores now share one generic macstore.Map[V]; the atomic file write lives in one place instead of three copies.
  • Split the 1007-line cmd/netwp/main.go into cohesive files (main/scan/iface/live/cmds/wire); main.go is now ~200 lines.
  • runAlias inlined to match runClass/runWatch; a ponytail: note documents the tcpprobe fan-out ceiling.

gofmt / go vet / golangci-lint clean; all tests pass; Linux cross-compile verified.