var net/http.ServerContextKey
6 uses
net/http (current package)
h2_bundle.go#L4045: ctx = context.WithValue(ctx, ServerContextKey, hs)
server.go#L238: ServerContextKey = &contextKey{"http-server"}
server.go#L2979: ctx := context.WithValue(baseCtx, ServerContextKey, srv)
server.go#L3147: s, _ := r.Context().Value(ServerContextKey).(*Server)
net/http/httputil
reverseproxy.go#L376: if req.Context().Value(http.ServerContextKey) != nil {
golang.org/x/net/http2
server.go#L479: ctx = context.WithValue(ctx, http.ServerContextKey, hs)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |