sqs

package
v0.0.0-...-a6f1803 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQSService

type SQSService struct {
	Client port.SQSClientInterface
	Config *config.Config
	Log    logger.Logger
}

func NewSQSService

func NewSQSService(cfgApplication *config.Config, log logger.Logger) (*SQSService, error)

func (*SQSService) DeleteMessage

func (s *SQSService) DeleteMessage(ctx context.Context, receiptHandle string) error

func (*SQSService) ReceiveMessage

func (s *SQSService) ReceiveMessage(ctx context.Context) ([]model.Message, error)

func (*SQSService) SendMessage

func (s *SQSService) SendMessage(ctx context.Context, message model.Message) error

Jump to

Keyboard shortcuts

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