当前位置: 首页 > 工具软件 > juggernaut > 使用案例 >

maccman/juggernaut

太叔鸿博
2023-12-01

maccman/juggernaut

Using Juggernaut from Python You don't have to use Ruby to communicate with Juggernaut. In fact, all that is needed is a Redis adapter. Here we're using Python with redis-py. import redis import json msg = { "channels": ["channel1"], "data": "foo" } r = redis.Redis() r.publish("juggernaut", json.dumps(msg))
posted on 2012-05-15 23:47  lexus 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/lexus/archive/2012/05/15/2502624.html

 类似资料:

相关阅读

相关文章

相关问答