net/connstats: make it modular (omittable)

Saves only 12 KB, but notably removes some deps on packages that future
changes can then eliminate entirely.

Updates #12614

Change-Id: Ibf830d3ee08f621d0a2011b1d4cd175427ef50df
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2025-10-04 11:43:17 -07:00
committed by Brad Fitzpatrick
parent 2e381557b8
commit 3c7e351671
11 changed files with 97 additions and 25 deletions
+1
View File
@@ -243,6 +243,7 @@ func TestMinTailscaledNoCLI(t *testing.T) {
"golang.org/x/net/proxy",
"internal/socks",
"github.com/tailscale/peercred",
"tailscale.com/types/netlogtype",
}
deptest.DepChecker{
GOOS: "linux",