os/signal.signalCtx.Value (method, view implemented interface methods)
15 uses
context
context.go#L153: Value(key interface{}) interface{}
context.go#L302: p, ok := parent.Value(&cancelCtxKey).(*cancelCtx)
context.go#L357: return c.Context.Value(key)
context.go#L562: return c.Context.Value(key)
net
dial.go#L396: if trace, _ := ctx.Value(nettrace.TraceKey{}).(*nettrace.Trace); trace != nil {
dial.go#L566: trace, _ := ctx.Value(nettrace.TraceKey{}).(*nettrace.Trace)
lookup.go#L247: return ovc.lookupValues.Value(key)
lookup.go#L270: trace, _ := ctx.Value(nettrace.TraceKey{}).(*nettrace.Trace)
lookup.go#L278: if alt, _ := ctx.Value(nettrace.LookupIPAltResolverKey{}).(func(context.Context, string, string) ([]IPAddr, error)); alt != nil {
net/http
server.go#L3147: s, _ := r.Context().Value(ServerContextKey).(*Server)
transport.go#L2668: if logf, ok := tr.Request.Context().Value(tLogKey{}).(func(string, ...interface{})); ok {
net/http/httptrace
trace.go#L25: trace, _ := ctx.Value(clientEventContextKey{}).(*ClientTrace)
runtime/pprof
label.go#L28: labels, _ := ctx.Value(labelContextKey{}).(*labelMap)
runtime.go#L25: ctxLabels, _ := ctx.Value(labelContextKey{}).(*labelMap)
runtime/trace
annotation.go#L66: if s, ok := ctx.Value(traceContextKey{}).(*Task); ok {