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

Method receiveGetResponse

memcache/raw_binary_client.go:325–332  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

323}
324
325func (c *RawBinaryClient) receiveGetResponse(key string) GetResponse {
326 var flags uint32
327 status, version, _, value, err := c.receiveResponse(opGet, &flags)
328 if err != nil {
329 return NewGetErrorResponse(key, err)
330 }
331 return NewGetResponse(key, status, flags, value, version)
332}
333
334// See Client interface for documentation.
335func (c *RawBinaryClient) Get(key string) GetResponse {

Callers 2

GetMethod · 0.95
GetMultiMethod · 0.95

Calls 3

receiveResponseMethod · 0.95
NewGetErrorResponseFunction · 0.85
NewGetResponseFunction · 0.85

Tested by

no test coverage detected