net/http.Serve
standard libraryThe 3904th most-called standard-library function by production calls. Called 265 times across 93 modules; 152 of those run outside tests and generated code.
- prod calls
- 152
- non-test, non-generated
- all calls
- 265
- total callsites
- modules
- 93
- distinct callers
- in loop
- 4%
- of prod calls
- in tests
- 43%
- 113 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 →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into Serve from notable Go projects. Open one on the map to see what else it hammers.
- Tailscale 17 11%
- HashiCorp 5 3%
- Kubernetes 4 3%
- containerd 3 2%
- Docker 2 1%
where it's called
Callsites in the wild
12 representative callsites of 265, prioritizing in-loop and non-test usage. We link to source, never display it.
-
etcd-io/etcd @v2.3.8+incompatible
in loop -
coreos/etcd @v2.3.8+incompatible
in loop -
fsouza/fake-gcs-server @v1.55.1
in loop - in loop
- in loop
-
tailscale.com @v1.102.2
cmd/nginx-auth/nginx-auth.go:121
in loop -
google/gvisor @v0.0.0-20260805052044-b67f1412986c
in loop test -
google/gvisor @v0.0.0-20260805052044-b67f1412986c
in loop test -
cockroachdb/cockroach @v19.2.12+incompatible
-
-
moby/moby @v28.5.2+incompatible
-
encr.dev @v1.57.13
cli/daemon/objects/public.go:49
top callers
The modules that reach for it
The modules that call Serve most in this snapshot.
- github.com/sagernet/tailscale3112%
- github.com/tailscale/tailscale3112%
- tailscale.com3112%
- github.com/micro/go-micro62%
- encr.dev52%
siblings
More from net/http
The other most-called functions in this package. See all →