aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authoralex <[email protected]>2026-07-09 16:51:26 +0200
committeralex <[email protected]>2026-07-09 16:51:26 +0200
commit8126486c8e488a6f541fb8b3bc65156fa983c489 (patch)
tree4207059a31b72a00955b7df693598549f35e1d1f /main.go
parent6aebb5bb1d35016bc8e3bed04e971614898cb6ff (diff)
downloadredis-clone-8126486c8e488a6f541fb8b3bc65156fa983c489.tar.xz
redis-clone-8126486c8e488a6f541fb8b3bc65156fa983c489.zip
added RENAME command
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index cd9cb7a..2364d02 100644
--- a/main.go
+++ b/main.go
@@ -23,6 +23,7 @@ var commandRegistry = map[string]handlerFunc{
"INCR": handleIncr,
"DECR": handleDecr,
"PING": handlePing,
+ "RENAME": handleRename,
/* "FLUSHALL": handleFlushall,
"RPUSH": handleRpush,
"LPUSH": handleLpush,