net.conn.LocalAddr
standard libraryThe 3793rd most-called standard-library method by production calls. Called 536 times across 82 modules; 167 of those run outside tests and generated code.
2% in production calls vs 2026-W48 (170 → 167)
- prod calls
- 167
- non-test, non-generated
- all calls
- 536
- total callsites
- modules
- 82
- distinct callers
- in loop
- 15%
- of prod calls
- in tests
- 69%
- 369 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 →
- Embedded method100%Reached through an embedded type.
who calls this
Notable callers
Production calls into conn.LocalAddr from notable Go projects. Open one on the map to see what else it hammers.
- Go (golang.org/x) 21 13%
- Tailscale 7 4%
- Docker 6 4%
- InfluxDB 6 4%
- Cilium 3 2%
where it's called
Callsites in the wild
12 representative callsites of 536, prioritizing in-loop and non-test usage. We link to source, never display it.
-
AlexxIT/go2rtc @v1.10.0
in loop -
coder/coder @v0.27.3
in loop -
ehang-io/nps @v0.26.10
in loop -
fatedier/frp @v0.72.0
in loop -
ginuerzh/gost @v0.0.0-20260830100240-a33fdbf4c980
in loop -
gogf/gf/v2 @v2.10.6
in loop -
insomniacslk/dhcp @v0.0.0-20261014062924-c6bb46ad3f3a
in loop - in loop
-
netbirdio/netbird @v0.84.0
in loop -
pion/webrtc @v1.2.0
in loop - in loop
-
txthinking/brook @v0.0.0-20261125101502-b8a98af6ad2e
in loop
top callers
The modules that reach for it
The modules that call conn.LocalAddr most in this snapshot.
- github.com/apernet/quic-go5911%
- github.com/netbirdio/netbird397%
- github.com/jpillora/chisel367%
- github.com/lucas-clemente/quic-go336%
- github.com/quic-go/quic-go336%
siblings
More from net
The other most-called members in this package. See all →