maccmanjuggernaut

maccmanjuggernaut,第1张

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))

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/2086834.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-07-22
下一篇 2022-07-22

发表评论

登录后才能评论

评论列表(0条)

保存