MCPcopy
hub / github.com/dropbox/godropbox / Set

Method Set

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

This stores a single item into the storage.

(item interface{})

Source from the content-addressed store, hash-verified

14
15 // This stores a single item into the storage.
16 Set(item interface{}) error
17
18 // This stores multiple items into the storage.
19 SetMulti(items ...interface{}) error

Callers 10

TestSetMethod · 0.65
SetMethod · 0.65
GetMethod · 0.65
SetMethod · 0.65
TestGetMethod · 0.65
TestSetMethod · 0.65
TestGetCacheHitMethod · 0.65
TestGetCacheMissMethod · 0.65
TestGetMultiMethod · 0.65
TestSetMethod · 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 7

TestSetMethod · 0.52
TestGetMethod · 0.52
TestSetMethod · 0.52
TestGetCacheHitMethod · 0.52
TestGetCacheMissMethod · 0.52
TestGetMultiMethod · 0.52
TestSetMethod · 0.52