sqs

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient interface {
	CreateQueue(name string) (*sqs.CreateQueueOutput, error)
	DeleteQueue(url string) error
	ListQueues() (*sqs.ListQueuesOutput, error)
	SendMessage(url, message string) (*sqs.SendMessageOutput, error)
}

func New

func New(config *config.AWS) (IClient, error)

type SQS

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

func (*SQS) CreateQueue

func (service *SQS) CreateQueue(name string) (*sqs.CreateQueueOutput, error)

func (*SQS) DeleteQueue

func (service *SQS) DeleteQueue(url string) error

func (*SQS) ListQueues

func (service *SQS) ListQueues() (*sqs.ListQueuesOutput, error)

func (*SQS) SendMessage

func (service *SQS) SendMessage(url, message string) (*sqs.SendMessageOutput, error)

Jump to

Keyboard shortcuts

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