MCPcopy Index your code
hub / github.com/golang/groupcache / Get

Method Get

groupcache.go:48–48  ·  view source on GitHub ↗

Get returns the value identified by key, populating dest. The returned data must be unversioned. That is, key must uniquely describe the loaded data, without an implicit current time, and without relying on cache expiration mechanisms.

(ctx context.Context, key string, dest Sink)

Source from the content-addressed store, hash-verified

46 // current time, and without relying on cache expiration
47 // mechanisms.
48 Get(ctx context.Context, key string, dest Sink) error
49}
50
51// A GetterFunc implements Getter with a function.

Callers 3

getLocallyMethod · 0.65
getFromPeerMethod · 0.65
getMethod · 0.65

Implementers 5

httpGetterhttp.go
fakePeergroupcache_test.go
Groupgroupcache.go
Cachelru/lru.go
Mapconsistenthash/consistenthash.go

Calls

no outgoing calls

Tested by

no test coverage detected