mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-17 22:30:37 +08:00
support watch command
This commit is contained in:
@@ -110,6 +110,8 @@ func makeRouter() map[string]CmdFunc {
|
||||
routerMap["flushdb"] = FlushDB
|
||||
routerMap["flushall"] = FlushAll
|
||||
routerMap[relayMulti] = execRelayedMulti
|
||||
routerMap["getver"] = defaultFunc
|
||||
routerMap["watch"] = execWatch
|
||||
|
||||
return routerMap
|
||||
}
|
||||
|
Reference in New Issue
Block a user