Class peagen.plugins.publishers.redis_publisher.RedisPublisher
peagen.plugins.publishers.redis_publisher.RedisPublisher
RedisPublisher(
*,
uri=None,
host=None,
port=None,
db=None,
password=None,
username=None,
)
Sync publisher for Redis Pub/Sub.
Source code in peagen/plugins/publishers/redis_publisher.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
|
publish
publish(channel, payload)
Send payload
to channel
as a JSON message.
Source code in peagen/plugins/publishers/redis_publisher.py
52 53 54 |
|