dispatch

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

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

Queue wraps an SQS reference

func NewQueue

func NewQueue(config *aws.Config, name string) (q *Queue, err error)

NewQueue initializes the state of the queue struct by fetching the queue URL from AWS

func (*Queue) Send

func (q *Queue) Send(message string) error

Send will put a message on the SQS queue

Jump to

Keyboard shortcuts

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