Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQSQueue ¶
SQSQueue is a Queue with Amazon SQS.
func NewSQSQueue ¶
NewSQSQueue creates a Queue with Amazon SQS.
func (*SQSQueue) FetchMessages ¶
FetchMessages dequeue messages from SQS queue using long polling.
func (*SQSQueue) PutMessages ¶
PutMessages enqueue given messages to SQS queue.
Since SQS supports at maximum 10 messages for one batch operation, we split the given slice by 10 times.
Click to show internal directories.
Click to hide internal directories.