sqs

package
v0.35.8 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func NewProvider

func NewProvider(ctx context.Context, client sqsiface.SQSAPI, queueName string) (*Provider, error)

func (*Provider) DeleteSQSMessage

func (p *Provider) DeleteSQSMessage(ctx context.Context, msg *sqs.Message) error

func (*Provider) GetSQSMessages

func (p *Provider) GetSQSMessages(ctx context.Context) ([]*sqs.Message, error)

func (*Provider) Name

func (p *Provider) Name() string

func (*Provider) SendMessage

func (p *Provider) SendMessage(ctx context.Context, body interface{}) (string, error)

Jump to

Keyboard shortcuts

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