Documentation
¶
Overview ¶
Package rabbitmq Message queue adapter on RabbitMQ.
Index ¶
- type Consumer
- type Producer
- type Remoter
- func (o *Remoter) Build(_ context.Context, _ *base.Task) (err error)
- func (o *Remoter) BuildById(_ context.Context, _ int) (err error)
- func (o *Remoter) Destroy(_ context.Context, _ *base.Task) (err error)
- func (o *Remoter) DestroyById(_ context.Context, _ int) (err error)
- func (o *Remoter) Processor() process.Processor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
Consumer 消息消费者.
func NewConsumer ¶
func (*Consumer) Dispatcher ¶
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
Producer 消息生产者.
func NewProducer ¶
func NewProducer() *Producer
type Remoter ¶
type Remoter struct {
// contains filtered or unexported fields
}
Remoter struct for aliyun mns remoter.
func NewRemoter ¶
func NewRemoter() *Remoter
Click to show internal directories.
Click to hide internal directories.