Documentation ¶
Index ¶
- type RabbitMq
- func (r *RabbitMq) BindQueue(ctx context.Context, qName, routingKey, exchange string, durable bool) error
- func (r *RabbitMq) Close(ctx context.Context)
- func (r *RabbitMq) ConsumeTasksFromQueue(ctx context.Context, qName, consumer string, autoAck bool, ...) error
- func (r *RabbitMq) DeclareExchange(ctx context.Context, name, kind string, durable bool) error
- func (r *RabbitMq) DeclareQueue(ctx context.Context, qName string, durable bool) error
- func (r *RabbitMq) SendTaskToQueue(ctx context.Context, exchange, routingKey string, event *models.Event) error
- func (r *RabbitMq) SetQos(ctx context.Context, prefetchCount, prefetchSize int, global bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RabbitMq ¶
type RabbitMq struct {
// contains filtered or unexported fields
}
func NewRabbitMqQueue ¶
func (*RabbitMq) ConsumeTasksFromQueue ¶
func (*RabbitMq) DeclareExchange ¶ added in v0.0.8
func (*RabbitMq) DeclareQueue ¶
func (*RabbitMq) SendTaskToQueue ¶
Click to show internal directories.
Click to hide internal directories.