MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Value

Method Value

pkg/component/context.go:43–45  ·  view source on GitHub ↗

Value implements context.Context using the value context.

(key any)

Source from the content-addressed store, hash-verified

41
42// Value implements context.Context using the value context.
43func (ctx *crossContext) Value(key any) any {
44 return ctx.valueCtx.Value(key)
45}

Callers 15

TestNewRPCServerFunction · 0.45
FromContextFunction · 0.45
FromContextFunction · 0.45
configFromContextMethod · 0.45
fetcherFromContextFunction · 0.45
TestContextDecouplingFunction · 0.45
TestContextFunction · 0.45
connInfoFromContextFunction · 0.45
GetConfigMethod · 0.45
SessionFromContextFunction · 0.45

Calls

no outgoing calls

Tested by 7

TestNewRPCServerFunction · 0.36
TestContextDecouplingFunction · 0.36
TestContextFunction · 0.36
TestFillContextFunction · 0.36
MarshalContextMethod · 0.36
TestContextMarshalerFunction · 0.36
TestHookContextFunction · 0.36