aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authoralex <[email protected]>2026-07-06 23:01:52 +0200
committeralex <[email protected]>2026-07-06 23:01:52 +0200
commit46ed94f273930ec2842ca4e5c37624c1da584fc4 (patch)
treee929201b5672832eb0b986e5addf790734999d84 /main.go
parent6a4a4387c1fbcf2e40c64eecdba8148d557f9f0f (diff)
downloadredis-clone-46ed94f273930ec2842ca4e5c37624c1da584fc4.tar.xz
redis-clone-46ed94f273930ec2842ca4e5c37624c1da584fc4.zip
added TYPE 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 8a73770..cbdae4b 100644
--- a/main.go
+++ b/main.go
@@ -34,6 +34,7 @@ var commandRegistry = map[string]handlerFunc{
"HGETALL": handleHgetall,
"HKEYS": handleHkeys,
"HVALUES": handleHvalues,
+ "TYPE": handleType,
}
func main() {