net/http.Header.Add
standard libraryThe 185th most-called standard-library method by production calls. Called 9,226 times across 495 modules; 5,301 of those run outside tests and generated code.
- prod calls
- 5,301
- non-test, non-generated
- all calls
- 9,226
- total callsites
- modules
- 495
- distinct callers
- in loop
- 57%
- of prod calls
- in tests
- 41%
- 3,771 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 Header.Add from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 145 3%
- InfluxDB 65 1%
- Grafana 61 1%
- VictoriaMetrics 43 <1%
- Docker 35 <1%
where it's called
Callsites in the wild
12 representative callsites of 9,226, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
cilium/cilium @v1.20.0
in loop - in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
connectrpc.com/connect @v1.20.0
protocol_grpc.go:569
in loop - in loop
- in loop
- in loop
- in loop
-
docker/distribution @v2.8.3+incompatible
in loop -
encr.dev @v1.57.13
cli/daemon/run/call.go:315
in loop
top callers
The modules that reach for it
The modules that call Header.Add most in this snapshot.
- github.com/elastic/go-elasticsearch/v81,13612%
- github.com/gophercloud/gophercloud8379%
- github.com/elastic/go-elasticsearch/v78179%
- github.com/elastic/go-elasticsearch/v65136%
- github.com/hashicorp/consul2343%
siblings
More from net/http
The other most-called members in this package. See all →