net/netip.AddrPort.IsValid
standard libraryThe 2142nd most-called standard-library method by production calls. Called 346 times across 30 modules; 295 of those run outside tests and generated code.
1% in production calls vs 2026-W39 (292 → 295)
- prod calls
- 295
- non-test, non-generated
- all calls
- 346
- total callsites
- modules
- 30
- distinct callers
- in loop
- 11%
- of prod calls
- in tests
- 15%
- 51 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Concrete method99%A method on a value whose type is known exactly.
- Embedded method<1%Reached through an embedded type.
who calls this
Notable callers
Production calls into AddrPort.IsValid from notable Go projects. Open one on the map to see what else it hammers.
- Tailscale 50 17%
- Go (golang.org/x) 3 1%
- HashiCorp 2 <1%
- Istio 2 <1%
where it's called
Callsites in the wild
12 representative callsites of 346, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
passteque/gluetun @v0.0.0-20260926220802-ded7fd059ca0
in loop - in loop
- in loop
-
sagernet/tailscale @v1.102.1-sing-box-1.14-mod.5
in loop -
slackhq/nebula @v1.11.2
in loop - in loop
-
tailscale.com @v1.102.5
net/netcheck/standalone.go:97
in loop - in loop
- in loop
- in loop
-
sagernet/tailscale @v1.102.1-sing-box-1.14-mod.5
in loop
top callers
The modules that reach for it
The modules that call AddrPort.IsValid most in this snapshot.
- tailscale.com7823%
- github.com/tailscale/tailscale6418%
- github.com/sagernet/tailscale5315%
- github.com/quic-go/quic-go185%
- github.com/SagerNet/sing-box175%
siblings
More from net/netip
The other most-called members in this package. See all →