sqssendmessage

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

func New

Types

type Input

type Input struct {
	MessageBody           string                 `md:"MessageBody"`
	MessageAttributeNames []interface{}          `md:"MessageAttributeNames"`
	MessageAttributes     map[string]interface{} `md:"MessageAttributes"`
}

func (*Input) FromMap

func (i *Input) FromMap(values map[string]interface{}) error

FromMap conversion

func (*Input) ToMap

func (i *Input) ToMap() map[string]interface{}

ToMap conversion

type Output

type Output struct {
	MessageId string `md:"MessageId"`
}

Output struct for activity 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 SQSSendMessageActivity

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

func (*SQSSendMessageActivity) Eval

func (a *SQSSendMessageActivity) Eval(context activity.Context) (done bool, err error)

func (*SQSSendMessageActivity) Metadata

func (a *SQSSendMessageActivity) Metadata() *activity.Metadata

type Settings

type Settings struct {
	SQSConnection string `md:"sqsConnection"`
	QueueURL      string `md:"queueUrl"`
	Delay         int    `md:"DelaySeconds"`
}

Input struct for activity input

Jump to

Keyboard shortcuts

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