net.TCPListener.Close
standard libraryThe 6490th most-called standard-library method by production calls. Called 196 times across 82 modules; 91 of those run outside tests and generated code.
- prod calls
- 91
- non-test, non-generated
- all calls
- 196
- total callsites
- modules
- 82
- distinct callers
- in loop
- 12%
- of prod calls
- in tests
- 54%
- 105 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 196, prioritizing in-loop and non-test usage. We link to source, never display it.
-
dapr/dapr @v1.18.2
in loop -
ehang-io/nps @v0.26.10
in loop -
ginuerzh/gost @v0.0.0-20241231130840-1d516e35e654
in loop -
gogf/gf/v2 @v2.10.2
in loop - in loop
-
sagernet/sing-tun @v0.8.11
in loop - in loop
- in loop
-
sigs.k8s.io/controller-runtime @v0.24.1
pkg/internal/testing/addr/manager.go:134
in loop -
ginuerzh/gost @v0.0.0-20241231130840-1d516e35e654
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.go158%
- 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 →