setup

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueueMessageInput

func QueueMessageInput(log *log.Logger, client *sqs.SQS, queueURL *string)

QueueMessageInput listens to text on stdin and sends it to the SQS queue for the poller to receive.

Types

type SQS

type SQS struct {
	Client *sqs.SQS
	Queue  *string
}

SQS contains the SQS resources needed to set up a Poller.

func NewEnv

func NewEnv(region, queueName string) (env *SQS, teardown func() error, err error)

NewEnv will set up the a new environment for the playground, a local SQS instance will be returned when it is ready to be interacted with. A teardown function is also returned, which should be executed once the caller is done with the SQS instance.

Jump to

Keyboard shortcuts

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