sqs_service

package
v0.18.0-rc.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ErrCodeNoSuchTagSet - AWS API neglects to include a constant for this error code.
	ErrCodeNoSuchTagSet = "NoSuchTagSet"
	ErrCodeAccessDenied = "AccessDenied"
)

Variables

This section is empty.

Functions

func New

func New(provider core.AwsProvider) (queue.QueueService, error)

func NewWithClient

func NewWithClient(provider core.AwsProvider, 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL