index
:
redis-clone.git
command-registry
main
multi/execute
pubsub
shards
very simple redis-like cache database
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
shards.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'shards.go')
-rw-r--r--
shards.go
1
1 files changed, 1 insertions, 0 deletions
diff --git a/shards.go b/shards.go
index 55ab976..bd19751 100644
--- a/
shards.go
+++ b/
shards.go
@@ -6,6 +6,7 @@ import (
)
type Shard struct{
mu sync.Mutex
+ id int
data map[string]Item
}