Пример #1
0
from redis_server.RedisHelper import RedisHelper

obj = RedisHelper()
redis_sub = obj.subscribe()
while True:
    msg = redis_sub.parse_response()
    print(msg)
Пример #2
0
from redis_server.RedisHelper import RedisHelper

obj = RedisHelper()
obj.public("hello a !!!")