templater_action

package
v0.0.0-...-f514c2e Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Any constants used in the application
	InputVariables = "variables"
	InputTemplate  = "template"
	TemplateResult = "result"
)

Variables

This section is empty.

Functions

func Invoke

func Invoke(stub domain.Stub, input map[string]interface{}) (output map[string]interface{}, err error)

Types

type Message

type Message struct {
	Template  string
	Variables map[string]interface{}
}

func NewMessage

func NewMessage(input map[string]interface{}) (*Message, error)

Jump to

Keyboard shortcuts

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