aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authoralex <[email protected]>2026-07-09 16:14:55 +0200
committeralex <[email protected]>2026-07-09 16:14:55 +0200
commit78ee0c69fdc9d328ab3e3048f0207957c4e48454 (patch)
tree2fb8f699df1985427ffd910db0f0af696c9360c5 /main.go
parent8fc42bccbe1445d538674a50567df17fbfc4874d (diff)
downloadredis-clone-78ee0c69fdc9d328ab3e3048f0207957c4e48454.tar.xz
redis-clone-78ee0c69fdc9d328ab3e3048f0207957c4e48454.zip
refactored DECR and INCR to support shards
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 8acef78..cd9cb7a 100644
--- a/main.go
+++ b/main.go
@@ -20,10 +20,10 @@ var commandRegistry = map[string]handlerFunc{
"SET": handleSet,
"DEL": handleDel,
"EXISTS": handleExists,
-/* "INCR": handleIncr,
+ "INCR": handleIncr,
"DECR": handleDecr,
"PING": handlePing,
- "FLUSHALL": handleFlushall,
+/* "FLUSHALL": handleFlushall,
"RPUSH": handleRpush,
"LPUSH": handleLpush,
"LRANGE": handleLrange,