net/http.Serve
standard libraryThe 4482nd most-called standard-library function by production calls. Called 229 times across 91 modules; 134 of those run outside tests and generated code.
1% in production calls vs 2026-W37 (136 → 134)
- prod calls
- 134
- non-test, non-generated
- all calls
- 229
- total callsites
- modules
- 91
- distinct callers
- in loop
- 4%
- of prod calls
- in tests
- 41%
- 95 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 13%
- HashiCorp 5 4%
- Kubernetes 4 3%
- containerd 3 2%
- Docker 2 1%
where it's called
Callsites in the wild
12 representative callsites of 229, 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.56.1
in loop - in loop
-
tailscale.com @v1.102.4
cmd/nginx-auth/nginx-auth.go:121
in loop -
google/gvisor @v0.0.0-20260919054224-26f3455a4cb9
in loop test -
google/gvisor @v0.0.0-20260919054224-26f3455a4cb9
in loop test -
cockroachdb/cockroach @v19.2.12+incompatible
-
-
moby/moby @v28.5.2+incompatible
-
encr.dev @v1.58.6
cli/daemon/objects/public.go:50
-
top callers
The modules that reach for it
The modules that call Serve most in this snapshot.
- github.com/tailscale/tailscale3114%
- tailscale.com3114%
- encr.dev52%
- github.com/encoredev/encore52%
- github.com/go-rod/rod52%
siblings
More from net/http
The other most-called functions in this package. See all →