Feat: Add "GetEX" and "GetDel" Commands

This commit is contained in:
Eriri
2022-06-04 23:09:27 +08:00
committed by finley
parent bde2c8ccbe
commit f3274fd8c8
4 changed files with 162 additions and 0 deletions

View File

@@ -34,7 +34,9 @@ func makeRouter() map[string]CmdFunc {
routerMap["mget"] = MGet
routerMap["msetnx"] = MSetNX
routerMap["get"] = defaultFunc
routerMap["getex"] = defaultFunc
routerMap["getset"] = defaultFunc
routerMap["getdel"] = defaultFunc
routerMap["incr"] = defaultFunc
routerMap["incrby"] = defaultFunc
routerMap["incrbyfloat"] = defaultFunc