Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACKListMQ ¶
type ACKListMQ struct {
// contains filtered or unexported fields
}
func NewACKListMQ ¶
func NewACKListMQ(client *redis.Client) *ACKListMQ
type ListMQ ¶
type ListMQ struct {
// contains filtered or unexported fields
}
type Msg ¶
type Msg struct { ID string // 消息的编号 Topic string // 消息的主题 Body []byte // 消息的Body Partition int // 分区号 Group string // 消费者组 Consumer string // 消费者组里的消费者 }
Msg 消息
type PartitionACKListMQ ¶
type PartitionACKListMQ struct {
// contains filtered or unexported fields
}
func NewPartitionACKListMQ ¶
func NewPartitionACKListMQ(client *redis.Client) *PartitionACKListMQ
type PubSubMQ ¶
type PubSubMQ struct {
// contains filtered or unexported fields
}
func NewPubSubMQ ¶
func NewPubSubMQ(client *redis.Client) *PubSubMQ
type StreamMQ ¶
type StreamMQ struct {
// contains filtered or unexported fields
}
func NewStreamMQ ¶
Click to show internal directories.
Click to hide internal directories.