Expand description

This module allows us to set a connection to Redis as a Listener.

Structs§

  • The main Redis message broker structure.
  • Configuration to access and authenticate to the Redis message broker.
  • Represents a connection to Redis. We use PubSub to receive information about whether there are updates to the monitored set, but then have to get the members of the set using a SMEMBERS command. Since keeping the PubSub channel open locks the redis Connection, we need two separate connections, one to listen to PubSub notifications, and one to make requests to Redis.
  • Represents a redis error. For the most part you should be using the Error trait to interact with this rather than the actual struct.