net.conn.Close
standard libraryThe 1624th most-called standard-library method by production calls. Called 864 times across 131 modules; 390 of those run outside tests and generated code.
No change in production calls since 2026-W39.
- prod calls
- 390
- non-test, non-generated
- all calls
- 864
- total callsites
- modules
- 131
- distinct callers
- in loop
- 14%
- of prod calls
- in tests
- 55%
- 474 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.Close from notable Go projects. Open one on the map to see what else it hammers.
- Docker 20 5%
- Kubernetes 20 5%
- InfluxDB 15 4%
- Cilium 9 2%
- Tailscale 9 2%
where it's called
Callsites in the wild
12 representative callsites of 864, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cilium/proxy @v0.0.0-20260921120314-283c3f1fedbb
in loop - in loop
-
AlexxIT/go2rtc @v1.9.14
in loop -
DNSCrypt/dnscrypt-proxy @v0.0.0-20260907210843-47ce24df6e86
in loop - in loop
- in loop
-
bettercap/bettercap @v0.0.0-20240809160008-76e136a18ed4
in loop - in loop
- in loop
- in loop
-
gogf/gf/v2 @v2.10.3
in loop - in loop
top callers
The modules that reach for it
The modules that call conn.Close most in this snapshot.
- github.com/netbirdio/netbird647%
- github.com/pion/ice/v4283%
- github.com/fatedier/frp273%
- github.com/influxdata/telegraf273%
- github.com/cactus/go-statsd-client/statsd253%
siblings
More from net
The other most-called members in this package. See all →