emssendmessage

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Types

type Activity

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

func (*Activity) Eval

func (a *Activity) Eval(ctx activity.Context) (bool, error)

func (*Activity) Metadata

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

type Input

type Input struct {
	Message MessageData `md:"message"`
}

func (*Input) FromMap

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

func (*Input) ToMap

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

type MessageData

type MessageData struct {
	Expiration    int
	DeliveryDelay int
	Destination   string
	Content       string
}

type Settings

type Settings struct {
	ConnectionRef   string `md:"emsConnection,required"`
	DestinationType string `md:"destinationType,required"`
	DeliveryMode    string `md:"deliveryMode,required"`
	MessageType     string `md:"messageType,required"`
}

Jump to

Keyboard shortcuts

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