use redis for storing messages - next
This commit is contained in:
@@ -25,8 +25,11 @@ class Redis:
|
||||
async def execute(self, command, *args, **kwargs):
|
||||
return await self._instance.execute_command(command, *args, **kwargs)
|
||||
|
||||
async def lrange(self, name, start, end):
|
||||
return await self._instance.lrange(name, start, end)
|
||||
async def lrange(self, key, start, stop):
|
||||
return await self._instance.lrange(key, start, stop)
|
||||
|
||||
async def mget(self, key, *keys):
|
||||
return await self._instance.mget(key, *keys)
|
||||
|
||||
|
||||
async def test():
|
||||
|
Reference in New Issue
Block a user