Documentation ¶
Index ¶
- func CronJob(client redis.UniversalClient, broker Broker, message Message) ([]byte, error)
- func DelayJob(client redis.UniversalClient, broker Broker, message Message) ([]byte, error)
- func DeleteJob(client redis.UniversalClient, broker Broker, message Message) ([]byte, error)
- func GetJob(client redis.UniversalClient, broker Broker, message Message) ([]byte, error)
- func HandleReceive(redis redis.UniversalClient, broker Broker)
- func ReplyBack(broker Broker, delivery amqp091.Delivery, value []byte)
- type Broker
- type Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleReceive ¶
func HandleReceive(redis redis.UniversalClient, broker Broker)
Types ¶
type Broker ¶
type Broker struct { Connection *amqp091.Connection Channel *amqp091.Channel // contains filtered or unexported fields }
func CreateBroker ¶
Click to show internal directories.
Click to hide internal directories.