package
0.0.0-20230623171840-436d2007a9fd
Repository: https://github.com/dropbox/godropbox.git
Documentation: pkg.go.dev
# Functions
This creates a CountResponse from an error.
This creates a normal CountResponse.
This creates a Response from an error.
This creates a GetResponse from an error.
This creates a normal GetResponse.
This creates a new memcache RawBinaryClient for use with np-large cluster.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This creates a MutateResponse from an error.
This creates a normal MutateResponse.
This creates a new memcache RawAsciiClient.
This creates a new memcache RawBinaryClient.
This creates a Response from status.
This creates a new ShardedClient.
This creates a StatResponse from an error.
This creates a StaticShardManager, which returns connections from a static list of memcache shards.
This creates a normal StatResponse.
No description provided by the author
This creates a VersionResponse from an error.
This creates a normal VersionResponse.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Not used.
Not used.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Not used.
No description provided by the author
No description provided by the author
# Structs
A base shard manager implementation that can be used to implement other shard managers.
An item to be gotten from or stored in a memcache server.
No description provided by the author
An unsharded memcache client implementation which operates on a pre-existing io channel (The user must explicitly setup and close down the channel), using the ascii memcache protocol.
An unsharded memcache client implementation which operates on a pre-existing io channel (The user must explicitly setup and close down the channel), using the binary memcached protocol.
A sharded memcache client implementation where sharding management is handled by the provided ShardManager.
Used for returning shard mapping results from ShardManager's GetShardsForKeys/GetShardsForItems calls.
No description provided by the author
A shard manager that returns connections from a static list of memcache shards.
# Interfaces
NOTE(mihnea) - ideally we should be able to separate methods that are state-aware (i.e.
A memcache client which communicates with a specific memcache shard.
Response returned by Increment/Decrement requests.
Response returned by Get/GetKey/GetAndTouch requests.
Response returned by Set/Add/Replace/Delete/Append/Prepend requests.
A generic response to a memcache request.
The ShardManager decides which memcache shard a key/item belongs to, and provide connections to the shards.
Response returned by Stat request.
Response returned by Version request.
# Type aliases
The ClientShardBuilder creates ClientShard by shard id and connection.
No description provided by the author
No description provided by the author
No description provided by the author