Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrProcessingError = errors.New("request to processing backend has failed (response status code 3xx or 4xx)")
View Source
var ErrProcessingFailed = errors.New("message processing failed (response status code 5xx)")
View Source
var ErrProcessorInternal = errors.New("processor was not able to perform request")
View Source
var ErrUnknownStatus = errors.New("processor was not able to read response status code")
Functions ¶
This section is empty.
Types ¶
type AMQPConsumer ¶
type AMQPConsumer struct {
// contains filtered or unexported fields
}
func NewAMQPConsumer ¶
func NewAMQPConsumer(ctx context.Context, url string, queues []Queue, log logger) *AMQPConsumer
NewAMQPConsumer constructs AMQP consumer and starts message processing routine
func (*AMQPConsumer) Stop ¶
func (c *AMQPConsumer) Stop()
Stop AMQP consumer and wait for all routines to gracefully finish
Click to show internal directories.
Click to hide internal directories.