This creates a new memcache RawBinaryClient.
(shard int, channel io.ReadWriter)
| 101 | |
| 102 | // This creates a new memcache RawBinaryClient. |
| 103 | func 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. |
| 113 | func NewLargeRawBinaryClient(shard int, channel io.ReadWriter) ClientShard { |
no outgoing calls