aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authoralex <[email protected]>2026-07-07 19:19:14 +0200
committeralex <[email protected]>2026-07-07 19:19:14 +0200
commit0c6fb165243ae087143dfab6f357437bbeb2c529 (patch)
treefd9a8bb814edf76af9d15c698bcd8fa47e360614 /main.go
parent46ed94f273930ec2842ca4e5c37624c1da584fc4 (diff)
downloadredis-clone-0c6fb165243ae087143dfab6f357437bbeb2c529.tar.xz
redis-clone-0c6fb165243ae087143dfab6f357437bbeb2c529.zip
added LPUSH 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 cbdae4b..82c3542 100644
--- a/main.go
+++ b/main.go
@@ -25,6 +25,7 @@ var commandRegistry = map[string]handlerFunc{
"PING": handlePing,
"FLUSHALL": handleFlushall,
"RPUSH": handleRpush,
+ "LPUSH": handleLpush,
"LRANGE": handleLrange,
"LPOP": handleLpop,
"RPOP": handleRpop,