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

Struct MockClient

memcache/mock_client.go:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type MockClient struct {
11 data map[string]*Item
12 version uint64
13 mutex sync.Mutex
14 forceGetMisses bool // return StatusKeyNotFound for all gets
15 forceSetInternalErrors bool // return StatusInternalError for all sets
16 forceFailEverything bool // return StatusInternalError for all functions
17}
18type Operation int
19
20const (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected