net/netip.Addr.IsPrivate
standard libraryThe 8398th most-called standard-library method by production calls. Called 76 times across 21 modules; 71 of those run outside tests and generated code.
- prod calls
- 71
- non-test, non-generated
- all calls
- 76
- total callsites
- modules
- 21
- distinct callers
- in loop
- 23%
- of prod calls
- in tests
- 7%
- 5 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 method100%A method on a value whose type is known exactly.
who calls this
Notable callers
Production calls into Addr.IsPrivate from notable Go projects. Open one on the map to see what else it hammers.
- Tailscale 15 21%
where it's called
Callsites in the wild
12 representative callsites of 76, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
passteque/gluetun @v0.0.0-20260805014130-9b8939eb5b6f
in loop -
sagernet/tailscale @v1.102.1
in loop -
tailscale/tailscale @v1.102.2
in loop -
tailscale.com @v1.102.2
net/netmon/interfaces_linux.go:86
in loop -
passteque/gluetun @v0.0.0-20260805014130-9b8939eb5b6f
in loop - in loop
- in loop
-
tailscale.com @v1.102.2
net/netmon/state.go:110
in loop -
sagernet/tailscale @v1.102.1
in loop -
tailscale/tailscale @v1.102.2
in loop -
tailscale.com @v1.102.2
net/portmapper/upnp.go:395
in loop
top callers
The modules that reach for it
The modules that call Addr.IsPrivate most in this snapshot.
- tailscale.com1722%
- github.com/sagernet/tailscale1621%
- github.com/tailscale/tailscale1621%
- github.com/passteque/gluetun34%
- github.com/slackhq/nebula34%
siblings
More from net/netip
The other most-called members in this package. See all →