func context.WithValue

10 uses

	context (current package)
		context.go#L519: func WithValue(parent Context, key, val interface{}) Context {

	net
		dial.go#L400: 		resolveCtx = context.WithValue(resolveCtx, nettrace.TraceKey{}, &shadow)

	net/http
		h2_bundle.go#L4043: 	ctx = context.WithValue(ctx, LocalAddrContextKey, c.LocalAddr())
		h2_bundle.go#L4045: 		ctx = context.WithValue(ctx, ServerContextKey, hs)
		server.go#L1819: 	ctx = context.WithValue(ctx, LocalAddrContextKey, c.rwc.LocalAddr())
		server.go#L2979: 	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)

	runtime/pprof
		label.go#L71: 	return context.WithValue(ctx, labelContextKey{}, &childLabels)

	runtime/trace
		annotation.go#L43: 	return context.WithValue(pctx, traceContextKey{}, s), s