Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
*********
Facade
*******
func (*Broker) RunConsumer ¶
func (b *Broker) RunConsumer( ctx aws.Context, url, name string, waitTimeSeconds int, maxNumberOfMessages int, workers int, handler MessageHandler, logger logrus.FieldLogger)
func (*Broker) RunPair ¶
func (b *Broker) RunPair( ctx aws.Context, topicArn, topicName string, publisherWorkers int, published OnPublished, queueUrl, queueName string, queueWaitTimeSeconds, queueMaxNumberOfMessages int, consumerWorkers int, handler MessageHandler, logger logrus.FieldLogger) Publisher
func (*Broker) RunPublisher ¶
func (b *Broker) RunPublisher( ctx aws.Context, topicArn, topicName string, workers int, published OnPublished, logger logrus.FieldLogger) Publisher
type MessageHandler ¶
type MessageHandler func(*SNSMessage) error
type OnPublished ¶
Click to show internal directories.
Click to hide internal directories.