net.Conn.Close
standard libraryThe 287th most-called standard-library method by production calls. Called 8,325 times across 429 modules; 3,216 of those run outside tests and generated code.
- prod calls
- 3,216
- non-test, non-generated
- all calls
- 8,325
- total callsites
- modules
- 429
- distinct callers
- in loop
- 16%
- of prod calls
- in tests
- 61%
- 5,107 calls
- resolved
- 2%
- 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 method2%Reached through an embedded type.
- Interface method98%Called through an interface. The runtime target may differ.
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.
- Kubernetes 142 4%
- Tailscale 99 3%
- Nomad 67 2%
- InfluxDB 61 2%
- Consul 53 2%
where it's called
Callsites in the wild
12 representative callsites of 8,325, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
-
containerd/ttrpc @v1.2.9
in loop - in loop
- in loop
-
etcd/client/pkg/v3 @v3.7.1
transport/tls.go:46
in loop -
AlexxIT/go2rtc @v1.9.14
in loop - in loop
-
DNSCrypt/dnscrypt-proxy @v0.0.0-20260801091651-c3ba78fac8a3
in loop - in loop
-
GoesToEleven/GolangTraining @v0.0.0-20230828175525-f9a4f6cf3939
in loop
top callers
The modules that reach for it
The modules that call Conn.Close most in this snapshot.
- github.com/nats-io/nats-server/v285710%
- tailscale.com2723%
- github.com/sagernet/tailscale2483%
- github.com/tailscale/tailscale2483%
- github.com/hashicorp/nomad2022%
siblings
More from net
The other most-called members in this package. See all →