Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewMQ)
Functions ¶
This section is empty.
Types ¶
type MQ ¶
type MQ struct {
// contains filtered or unexported fields
}
func (*MQ) RegisterTopic ¶
func (a *MQ) RegisterTopic(topic TopicInterface) error
RegisterTopic register Topic to MQ If a message keep fail after retry, It will be sent to the PoisonQueue. PoisonQueue will retry messages in a very low rate.
type Option ¶ added in v0.1.0
type Option func(o *Options)
Option represents a store option function.
func WithConsumePoisoned ¶ added in v0.1.0
func WithConsumePoisoned() Option
Click to show internal directories.
Click to hide internal directories.