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

Function NewRawBinaryClient

memcache/raw_binary_client.go:103–110  ·  view source on GitHub ↗

This creates a new memcache RawBinaryClient.

(shard int, channel io.ReadWriter)

Source from the content-addressed store, hash-verified

101
102// This creates a new memcache RawBinaryClient.
103func NewRawBinaryClient(shard int, channel io.ReadWriter) ClientShard {
104 return &RawBinaryClient{
105 shard: shard,
106 channel: channel,
107 validState: true,
108 maxValueLength: defaultMaxValueLength,
109 }
110}
111
112// This creates a new memcache RawBinaryClient for use with np-large cluster.
113func NewLargeRawBinaryClient(shard int, channel io.ReadWriter) ClientShard {

Callers 2

ExampleRawBinaryClientFunction · 0.92
SetUpTestMethod · 0.85

Calls

no outgoing calls

Tested by 2

ExampleRawBinaryClientFunction · 0.74
SetUpTestMethod · 0.68