net.conn.Close
standard libraryThe 1680th most-called standard-library method by production calls. Called 824 times across 125 modules; 365 of those run outside tests and generated code.
- prod calls
- 365
- non-test, non-generated
- all calls
- 824
- total callsites
- modules
- 125
- distinct callers
- in loop
- 14%
- of prod calls
- in tests
- 56%
- 459 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 824, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cilium/proxy @v0.0.0-20260721220516-ab0596f228a0
in loop - in loop
-
AlexxIT/go2rtc @v1.9.14
in loop -
DNSCrypt/dnscrypt-proxy @v0.0.0-20260801091651-c3ba78fac8a3
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.2
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/netbird628%
- github.com/pion/ice/v4283%
- github.com/influxdata/telegraf273%
- github.com/cactus/go-statsd-client/statsd253%
- github.com/fatedier/frp243%
siblings
More from net
The other most-called members in this package. See all →