Documentation
¶
Overview ¶
Package mocks provides SQS interface mocks for testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQS ¶
SQS is an implmentation of a mock sqs interface
func (*SQS) GetQueueUrl ¶
func (s *SQS) GetQueueUrl(in *sqs.GetQueueUrlInput) (*sqs.GetQueueUrlOutput, error)
GetQueueUrl mocks the SQS GetQueueUrl method and just prefixes the queueName with "local://"
func (*SQS) SendMessage ¶
func (s *SQS) SendMessage(in *sqs.SendMessageInput) (*sqs.SendMessageOutput, error)
SendMessage mocks the SQS SendMessage by storing the message body in the mock object and calculating the message body MD5
Click to show internal directories.
Click to hide internal directories.