mixer

package
v0.1.28 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 8 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 InputSettings added in v0.1.15

type InputSettings struct {
	Name    string `json:"name" required:"true" title:"Input Name"`
	Trigger bool   `` /* 129-byte string literal not displayed */
}

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 []InputSettings `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