Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KVMap ¶
type KVMap[K comparable, V any] struct { // contains filtered or unexported fields }
type ShardKV ¶
func NewShardKV ¶
NewShardKV 创建分片kv shardNum 分片数 perCap 每个分片容量
type ShardKey ¶
type ShardKey interface { String() string comparable }
Click to show internal directories.
Click to hide internal directories.