Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleFunc ¶
func HandleFunc(sqsApi SQS, queryUrl *string, concurrency int, fn HandlerFunc) sns.HandlerFunc
Types ¶
type HandlerFunc ¶
func (HandlerFunc) Apply ¶
func (fn HandlerFunc) Apply(v string) error
type SQS ¶
type SQS interface { // ReceiveMessage is the same as (*sqs.SQS) ReceiveMessage ReceiveMessage(input *sqs.ReceiveMessageInput) (*sqs.ReceiveMessageOutput, error) // DeleteMessageBatch is the same as (*sqs.SQS) DeleteMessageBatch DeleteMessageBatch(input *sqs.DeleteMessageBatchInput) (*sqs.DeleteMessageBatchOutput, error) }
SQS provides an interface over *sqs.SQS to simplify testing
Click to show internal directories.
Click to hide internal directories.