Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQSConfig ¶
type SQSConfig struct {
QueueArn string `toml:"queue_arn"`
Timeout int64 `toml:"timeout"`
MaxWaitTime int64 `toml:"wait_time"`
QueueName string `toml:"queue_name"`
Endpoint string `toml:"endpoint"`
}
SQSConfig is the configuration required for an SQSConsumer.
type SQSConsumer ¶
type SQSConsumer struct {
// contains filtered or unexported fields
}
SQSConsumer is the SQS implementation of the QueueConsumer interface.
type SQSConsumerGroup ¶
type SQSConsumerGroup struct {
// contains filtered or unexported fields
}
SQSConsumerGroup is a group of SQSConsumers.
func NewSQSConsumerGroup ¶
func NewSQSConsumerGroup(nConsumers uint8, config SQSConfig, processor Processor, logger *log.Logger) (*SQSConsumerGroup, error)
NewSQSConsumerGroup creates a new SQSConsumerGroup.
Click to show internal directories.
Click to hide internal directories.