Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) ChangeMessageVisibility(params *sqs.ChangeMessageVisibilityInput) (*sqs.ChangeMessageVisibilityOutput, error)
- func (c *Client) DeleteMessage(params *sqs.DeleteMessageInput) (*sqs.DeleteMessageOutput, error)
- func (c *Client) DeleteMessageBatch(params *sqs.DeleteMessageBatchInput) (*sqs.DeleteMessageBatchOutput, error)
- func (c *Client) Queue(name string) []*Message
- func (c *Client) ReceiveMessage(params *sqs.ReceiveMessageInput) (*sqs.ReceiveMessageOutput, error)
- func (c *Client) SendMessage(params *sqs.SendMessageInput) (*sqs.SendMessageOutput, error)
- func (c *Client) SendMessageBatch(params *sqs.SendMessageBatchInput) (*sqs.SendMessageBatchOutput, error)
- func (c *Client) VisibleQueue(name string) []*Message
- type Message
Constants ¶
View Source
const DefaultVisibilityTimeout time.Duration = 30 * time.Second
DefaultVisibilityTimeout is the SQS default.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an in-memory implementation of sqsiface.SQSAPI. It is NOT a complete implementation yet. Functionality will added as needed by the tests in mq-go.
func (*Client) ChangeMessageVisibility ¶
func (c *Client) ChangeMessageVisibility(params *sqs.ChangeMessageVisibilityInput) (*sqs.ChangeMessageVisibilityOutput, error)
ChangeMessageVisibility satisfies the sqsiface.SQSAPI interface.
func (*Client) DeleteMessage ¶
func (c *Client) DeleteMessage(params *sqs.DeleteMessageInput) (*sqs.DeleteMessageOutput, error)
DeleteMessage satisfies the sqsiface.SQSAPI interface.
func (*Client) DeleteMessageBatch ¶
func (c *Client) DeleteMessageBatch(params *sqs.DeleteMessageBatchInput) (*sqs.DeleteMessageBatchOutput, error)
DeleteMessageBatch satisfies the sqsiface.SQSAPI interface.
func (*Client) ReceiveMessage ¶
func (c *Client) ReceiveMessage(params *sqs.ReceiveMessageInput) (*sqs.ReceiveMessageOutput, error)
ReceiveMessage satisfies the sqsiface.SQSAPI interface.
func (*Client) SendMessage ¶
func (c *Client) SendMessage(params *sqs.SendMessageInput) (*sqs.SendMessageOutput, error)
SendMessage satisfies the sqsiface.SQSAPI interface.
func (*Client) SendMessageBatch ¶
func (c *Client) SendMessageBatch(params *sqs.SendMessageBatchInput) (*sqs.SendMessageBatchOutput, error)
SendMessageBatch satisfies the sqsiface.SQSAPI interface.
func (*Client) VisibleQueue ¶
VisibleQueue returns only items that are currently visible.
Click to show internal directories.
Click to hide internal directories.