array

package
v0.1.121 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SplitComponent        = "split"
	SplitOutPort   string = "out"
	SplitInPort    string = "in"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Split

type Split struct {
}

func (*Split) GetInfo

func (t *Split) GetInfo() module.ComponentInfo

func (*Split) Handle

func (t *Split) Handle(ctx context.Context, handler module.Handler, port string, msg interface{}) error

func (*Split) Instance

func (t *Split) Instance() module.Component

func (*Split) Ports

func (t *Split) Ports() []module.Port

type SplitContext

type SplitContext any

type SplitInMessage

type SplitInMessage struct {
	Context SplitContext       `` /* 128-byte string literal not displayed */
	Array   []SplitItemContext `json:"array,omitempty" title:"Array" default:"null" description:"Array of items to be split" required:"true"`
}

type SplitItemContext

type SplitItemContext any

type SplitOutMessage

type SplitOutMessage struct {
	Context SplitContext     `json:"context"`
	Item    SplitItemContext `json:"item"`
}

Jump to

Keyboard shortcuts

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