MCPcopy Index your code
hub / github.com/dropbox/godropbox / Get

Method Get

caching/interface.go:9–9  ·  view source on GitHub ↗

This retrieves a single value from the storage.

(key interface{})

Source from the content-addressed store, hash-verified

7type Storage interface {
8 // This retrieves a single value from the storage.
9 Get(key interface{}) (interface{}, error)
10
11 // This retrieves multiple values from the storage. The items are returned
12 // in the same order as the input keys.

Callers 14

TestGetMethod · 0.65
TestSetMethod · 0.65
GetMethod · 0.65
GetMethod · 0.65
TestGetMethod · 0.65
TestSetMethod · 0.65
TestGetCacheHitMethod · 0.65
TestGetCacheMissMethod · 0.65
TestGetMultiMethod · 0.65
TestSetMethod · 0.65
TestSetMultiMethod · 0.65
TestDeleteMethod · 0.65

Implementers 7

MockClientmemcache/mock_client.go
RawBinaryClientmemcache/raw_binary_client.go
ShardedClientmemcache/sharded_client.go
RawAsciiClientmemcache/raw_ascii_client.go
RateLimitedStoragecaching/rate_limited_storage.go
CacheOnStoragecaching/cache_on_storage.go
GenericStoragecaching/generic_storage.go

Calls

no outgoing calls

Tested by 12

TestGetMethod · 0.52
TestSetMethod · 0.52
TestGetMethod · 0.52
TestSetMethod · 0.52
TestGetCacheHitMethod · 0.52
TestGetCacheMissMethod · 0.52
TestGetMultiMethod · 0.52
TestSetMethod · 0.52
TestSetMultiMethod · 0.52
TestDeleteMethod · 0.52
TestDeleteMultiMethod · 0.52
TestFlushMethod · 0.52