net.conn.LocalAddr
standard libraryThe 3734th most-called standard-library method by production calls. Called 513 times across 76 modules; 161 of those run outside tests and generated code.
1% in production calls vs 2026-W37 (162 → 161)
- prod calls
- 161
- non-test, non-generated
- all calls
- 513
- total callsites
- modules
- 76
- distinct callers
- in loop
- 15%
- of prod calls
- in tests
- 69%
- 352 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) 20 12%
- Docker 6 4%
- InfluxDB 6 4%
- Tailscale 6 4%
- Cilium 3 2%
where it's called
Callsites in the wild
12 representative callsites of 513, prioritizing in-loop and non-test usage. We link to source, never display it.
-
AlexxIT/go2rtc @v1.9.14
in loop -
coder/coder @v0.27.3
in loop -
ehang-io/nps @v0.26.10
in loop -
fatedier/frp @v0.71.0
in loop -
ginuerzh/gost @v0.0.0-20260830100240-a33fdbf4c980
in loop -
gogf/gf/v2 @v2.10.3
in loop -
insomniacslk/dhcp @v0.0.0-20260901064844-234b97448fae
in loop -
netbirdio/netbird @v0.79.0
in loop -
pion/webrtc @v1.2.0
in loop - in loop
-
txthinking/brook @v0.0.0-20260914063422-0eff7db2d86a
in loop - in loop
top callers
The modules that reach for it
The modules that call conn.LocalAddr most in this snapshot.
- github.com/apernet/quic-go5711%
- github.com/lucas-clemente/quic-go5711%
- github.com/quic-go/quic-go5711%
- github.com/netbirdio/netbird357%
- github.com/cactus/go-statsd-client/statsd234%
siblings
More from net
The other most-called members in this package. See all →