sqsreceivemessage

package
v0.0.0-...-5dd395e Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
}

func (*Factory) Metadata

func (*Factory) Metadata() *trigger.Metadata

func (*Factory) New

func (*Factory) New(config *trigger.Config) (trigger.Trigger, error)

type HandlerSettings

type HandlerSettings struct {
	QueueURL              string        `md:"queueUrl"`
	DeleteMessage         bool          `md:"deleteMessage"`
	MaxNumberOfMessages   int           `md:"MaxNumberOfMessages"`
	VisibilityTimeout     int           `md:"VisibilityTimeout"`
	WaitTimeSeconds       int           `md:"WaitTimeSeconds"`
	MessageAttributeNames []interface{} `md:"MessageAttributeNames"`
	AttributeNames        []interface{} `md:"AttributeNames"`
}

type Output

type Output struct {
	Message interface{} `md:"Message"`
}

Output struct for trigger output

func (*Output) FromMap

func (o *Output) FromMap(values map[string]interface{}) error

FromMap conversion

func (*Output) ToMap

func (o *Output) ToMap() map[string]interface{}

ToMap conversion

type SQSHandler

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

type Settings

type Settings struct {
	SQSConnection string `md:"sqsConnection"`
}

type Trigger

type Trigger struct {
	SQSHandlers map[string]*SQSHandler
	// contains filtered or unexported fields
}

func (*Trigger) Initialize

func (t *Trigger) Initialize(ctx trigger.InitContext) error

func (*Trigger) Start

func (t *Trigger) Start() error

func (*Trigger) Stop

func (t *Trigger) Stop() error

Jump to

Keyboard shortcuts

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