MCPcopy Index your code
hub / github.com/tailscale/tailscale / Store

Method Store

ipn/ipnlocal/netmapcache/netmapcache.go:403–403  ·  view source on GitHub ↗

Store marshals and stores the contents of the specified value under key. If the key already exists, its contents are replaced.

(ctx context.Context, key string, value []byte)

Source from the content-addressed store, hash-verified

401 // Store marshals and stores the contents of the specified value under key.
402 // If the key already exists, its contents are replaced.
403 Store(ctx context.Context, key string, value []byte) error
404
405 // Remove removes the specified key from the store. If the key does not exist,
406 // Remove reports success (nil).

Callers 15

TestConnFunction · 0.65
doSlowMethod · 0.65
SetMethod · 0.65
GetMethod · 0.65
GetErrMethod · 0.65
SetForTestMethod · 0.65
TestUpdateRoutesDeadlockFunction · 0.65
GetEnvTypeFunction · 0.65
SetDeviceModelFunction · 0.65
deviceModelCachedFunction · 0.65
SetOSVersionFunction · 0.65
SetFirewallModeFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestConnFunction · 0.52
TestUpdateRoutesDeadlockFunction · 0.52
TestInjectInboundLeakFunction · 0.52
makeNetstackFunction · 0.52
TestShouldProcessInboundFunction · 0.52
TestTCPForwardLimitsFunction · 0.52
TestHandleLocalPacketsFunction · 0.52
TestShouldSendToHostFunction · 0.52