Skip to content
callcount

github.com/gorilla/websocket.Upgrader.Upgrade

third-party

The 5840th most-called third-party method by production calls. Called 236 times across 79 modules; 101 of those run outside tests and generated code.

All of github.com/gorilla/websocket → Docs on pkg.go.dev ↗

prod calls
101
non-test, non-generated
all calls
236
total callsites
modules
79
distinct callers
in loop
0%
of prod calls
in tests
57%
135 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 Upgrader.Upgrade from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 236, prioritizing in-loop and non-test usage. We link to source, never display it.

Upgrader.Upgrade · 12 of 236 callsites

top callers

The modules that reach for it

The modules that call Upgrader.Upgrade most in this snapshot.

  • github.com/grafana/k62310%
  • github.com/traefik/traefik/v32310%
  • go.k6.io/k62310%
  • github.com/gorilla/websocket115%
  • github.com/traefik/traefik104%

siblings

More from github.com/gorilla/websocket

The other most-called members in this package. See all →