添加redis scan方法

This commit is contained in:
lifeiyi
2020-04-21 18:25:59 +08:00
parent fb44986a31
commit eb92470865
2 changed files with 25 additions and 6 deletions

View File

@@ -73,8 +73,9 @@ func (slf *GateService) Test(){
}
func (slf *GateService) TestRedis() {
slf.redisModule.GetHashValueByHashKeyList("BITGET_2160_LastSetLevelInfo", "SBTC_USD_1", "BTC_SUSDT_1", "SBTC_USD_3")
//slf.redisModule.GetHashValueByHashKeyList("BITGET_2160_LastSetLevelInfo", "SBTC_USD_1", "BTC_SUSDT_1", "SBTC_USD_3")
//slf.redisModule.GetHashValueByKey("BITGET_2160_LastSetLevelInfo", "SBTC_USD_1")
slf.redisModule.ScanMatchKeys(192, "ZC*", 100)
}
func (slf *GateService) HttpTest(session *sysservice.HttpSession) {