Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// QueueURL is the URL of your SQS queue
// (mandatory)
QueueURL string
// AwsConfig is the AWS SDK configuration object we will use to
// upload your exported data files.
AwsConfig *aws.Config
// contains filtered or unexported fields
}
type SQSSendMessageAPI ¶
type SQSSendMessageAPI interface {
SendMessage(ctx context.Context,
params *sqs.SendMessageInput,
optFns ...func(*sqs.Options)) (*sqs.SendMessageOutput, error)
}
SQSSendMessageAPI defines the interface for the GetQueueUrl and SendMessage functions. We use this interface to test the functions using a mocked service.
Click to show internal directories.
Click to hide internal directories.