Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
API wraps an SQS client interface.
func (*API) SendMessage ¶
func (a *API) SendMessage(ctx aws.Context, queue string, data []byte) (*sqs.SendMessageOutput, error)
SendMessage is a convenience wrapper for sending a message to an SQS queue.
func (*API) SendMessageBatch ¶
func (a *API) SendMessageBatch(ctx aws.Context, queue string, data [][]byte) (*sqs.SendMessageBatchOutput, error)
SendMessageBatch is a convenience wrapper for sending multiple messages to an SQS queue. This function becomes recursive for any messages that failed the SendMessage operation.
Click to show internal directories.
Click to hide internal directories.