queue

package
v0.0.0-...-aee609b Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueue

func NewQueue(r *Repository)

func SqsSendMessage

func SqsSendMessage(
	ctx context.Context,
	app config.AppConfig,
	queueUrl,
	messageGroupId,
	data string,
) error

Types

type Repository

type Repository struct {
	Svc     *sqs.Client
	SvcLock sync.Mutex
}
var Repo *Repository

func NewRepo

func NewRepo(a *config.AppConfig) *Repository

Jump to

Keyboard shortcuts

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