mixer

package
v0.1.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ComponentName        = "mixer"
	OutputPort    string = "output"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context any

type Input

type Input struct {
	Context Context `json:"context" configurable:"true" required:"true" title:"Context" description:"Arbitrary message"`
	// contains filtered or unexported fields
}

func (Input) Process

func (m Input) Process(s *jsonschema.Schema)

Process post-processing schema

type Mixer

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

func (*Mixer) GetInfo

func (m *Mixer) GetInfo() module.ComponentInfo

func (*Mixer) Handle

func (m *Mixer) Handle(ctx context.Context, output module.Handler, port string, msg interface{}) error

func (*Mixer) Instance

func (m *Mixer) Instance() module.Component

func (*Mixer) Ports

func (m *Mixer) Ports() []module.Port

type Output

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

func (Output) Process

func (m Output) Process(s *jsonschema.Schema)

type Settings

type Settings struct {
	Inputs []string `json:"inputs" required:"true" title:"Inputs" minItems:"1" uniqueItems:"true"`
}

Jump to

Keyboard shortcuts

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