package
Version:
v0.0.0-...-c1a148e
Opens a new window with list of versions in this module.
Published: Jun 12, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Queue 消息队列
func NewRedisMQ(client *redis.Client, channel string) Queue
NewRedisMQ 构造函数
client 可以使用 *redis.Client 或者 *redis.ClusterClient
当使用ClusterClient时,会采用sharded channel
Source Files
¶
Click to show internal directories.
Click to hide internal directories.