sqs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanUp

type CleanUp func(context.Context) error

CleanUp is a function to delete the message from SQS

type Client

type Client interface {
	Enqueue(ctx context.Context, queueURL, message string) error
	EnqueueWithDelay(ctx context.Context, queueURL, message string, delaySeconds int) error
	Dequeue(ctx context.Context, queueURL string, waitTimeSeconds int) (*string, CleanUp, error)
}

Client is a wrapper of sqs.Client

func New

func New(c *sqs.Client) Client

Directories

Path Synopsis
Package mock_sqs is a generated GoMock package.
Package mock_sqs is a generated GoMock package.

Jump to

Keyboard shortcuts

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