net.TCPListener.Close
standard libraryThe 6683rd most-called standard-library method by production calls. Called 192 times across 81 modules; 91 of those run outside tests and generated code.
No change in production calls since 2026-W39.
- prod calls
- 91
- non-test, non-generated
- all calls
- 192
- total callsites
- modules
- 81
- distinct callers
- in loop
- 12%
- of prod calls
- in tests
- 53%
- 101 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 →
- Concrete method100%A method on a value whose type is known exactly.
who calls this
Notable callers
Production calls into TCPListener.Close from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 7 8%
- Nomad 6 7%
- Cilium 3 3%
- Docker 3 3%
- Grafana 3 3%
where it's called
Callsites in the wild
12 representative callsites of 192, prioritizing in-loop and non-test usage. We link to source, never display it.
-
dapr/dapr @v1.18.4
in loop -
ehang-io/nps @v0.26.10
in loop -
ginuerzh/gost @v0.0.0-20260830100240-a33fdbf4c980
in loop -
gogf/gf/v2 @v2.10.3
in loop - in loop
- in loop
- in loop
- in loop
-
sigs.k8s.io/controller-runtime @v0.25.1
pkg/internal/testing/addr/manager.go:134
in loop -
ginuerzh/gost @v0.0.0-20260830100240-a33fdbf4c980
in loop - in loop
- in loop test
top callers
The modules that reach for it
The modules that call TCPListener.Close most in this snapshot.
- github.com/nats-io/nats.go147%
- github.com/txthinking/brook147%
- github.com/pion/ice/v4137%
- github.com/database64128/tfo-go/v274%
- github.com/docker/docker63%
siblings
More from net
The other most-called members in this package. See all →