net/http.Redirect
standard libraryThe 892nd most-called standard-library function by production calls. Called 1,071 times across 183 modules; 751 of those run outside tests and generated code.
- prod calls
- 751
- non-test, non-generated
- all calls
- 1,071
- total callsites
- modules
- 183
- distinct callers
- in loop
- <1%
- of prod calls
- in tests
- 30%
- 320 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 Redirect from notable Go projects. Open one on the map to see what else it hammers.
- Argo 17 2%
- Tailscale 15 2%
- Gitea 8 1%
- Traefik 8 1%
- Kubernetes 7 <1%
where it's called
Callsites in the wild
12 representative callsites of 1,071, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
joewalnes/websocketd @v0.4.1
in loop - in loop
-
k8s.io/kube-openapi @v0.0.0-20260721132016-d427ff9ee9ad
pkg/handler3/handler.go:269
in loop - in loop test
- in loop test
-
ory/x @v0.0.729
in loop test - in loop test
- in loop test
- in loop test
-
kubernetes/kubernetes @master
staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware_test.go:520 ↗
in loop test - in loop test
top callers
The modules that reach for it
The modules that call Redirect most in this snapshot.
- github.com/GoesToEleven/GolangTraining17616%
- github.com/ory/kratos757%
- github.com/sourcegraph/sourcegraph-public-snapshot414%
- github.com/google/go-github/v62273%
- github.com/seaweedfs/seaweedfs262%
siblings
More from net/http
The other most-called functions in this package. See all →