diff options
| author | alex <[email protected]> | 2026-07-09 16:14:55 +0200 |
|---|---|---|
| committer | alex <[email protected]> | 2026-07-09 16:14:55 +0200 |
| commit | 78ee0c69fdc9d328ab3e3048f0207957c4e48454 (patch) | |
| tree | 2fb8f699df1985427ffd910db0f0af696c9360c5 /main.go | |
| parent | 8fc42bccbe1445d538674a50567df17fbfc4874d (diff) | |
| download | redis-clone-78ee0c69fdc9d328ab3e3048f0207957c4e48454.tar.xz redis-clone-78ee0c69fdc9d328ab3e3048f0207957c4e48454.zip | |
refactored DECR and INCR to support shards
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |
