func context.WithValue
8 uses
context (current package)
context.go#L713: func WithValue(parent Context, key, val any) Context {
net
dial.go#L506: resolveCtx = context.WithValue(resolveCtx, nettrace.TraceKey{}, &shadow)
net/http
h2_bundle.go#L4407: ctx = context.WithValue(ctx, LocalAddrContextKey, c.LocalAddr())
h2_bundle.go#L4409: ctx = context.WithValue(ctx, ServerContextKey, hs)
server.go#L1941: ctx = context.WithValue(ctx, LocalAddrContextKey, c.rwc.LocalAddr())
server.go#L3328: ctx := context.WithValue(baseCtx, ServerContextKey, srv)
net/http/httptrace
trace.go#L41: ctx = context.WithValue(ctx, clientEventContextKey{}, trace)
trace.go#L65: ctx = context.WithValue(ctx, nettrace.TraceKey{}, nt)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |