Documentation ¶
Index ¶
- func New() (queue.QueueService, error)
- func NewWithClient(client sqsiface.SQSAPI) queue.QueueService
- type SQSQueueService
- func (s *SQSQueueService) Complete(q string, leaseId string) error
- func (s *SQSQueueService) Receive(options queue.ReceiveOptions) ([]queue.NitricTask, error)
- func (s *SQSQueueService) Send(queueName string, task queue.NitricTask) error
- func (s *SQSQueueService) SendBatch(queueName string, tasks []queue.NitricTask) (*queue.SendBatchResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() (queue.QueueService, error)
func NewWithClient ¶
func NewWithClient(client sqsiface.SQSAPI) queue.QueueService
Types ¶
type SQSQueueService ¶
type SQSQueueService struct { queue.UnimplementedQueuePlugin // contains filtered or unexported fields }
func (*SQSQueueService) Complete ¶
func (s *SQSQueueService) Complete(q string, leaseId string) error
Completes a previously popped queue item
func (*SQSQueueService) Receive ¶
func (s *SQSQueueService) Receive(options queue.ReceiveOptions) ([]queue.NitricTask, error)
func (*SQSQueueService) Send ¶
func (s *SQSQueueService) Send(queueName string, task queue.NitricTask) error
func (*SQSQueueService) SendBatch ¶
func (s *SQSQueueService) SendBatch(queueName string, tasks []queue.NitricTask) (*queue.SendBatchResponse, error)
Click to show internal directories.
Click to hide internal directories.