Versions in this module Expand all Collapse all v0 v0.1.0 Aug 8, 2026 Changes in this version + const CompatDivergent + const CompatFull + const CompatOnly + const CompatPartial + const TypeBin + const TypeBool + const TypeDate + const TypeEnv + const TypeFlow + const TypeGlobal + const TypeJSON + const TypeJSONata + const TypeMsg + const TypeNum + const TypeRe + const TypeStr + var Default = NewRegistry() + var DefaultTypedInputTypes = []string + func MustRegister(d Descriptor, f Factory) + type Category string + const CategoryCommon + const CategoryConfig + const CategoryDiscover + const CategoryFunction + const CategoryNetwork + const CategoryParser + const CategorySequence + const CategoryStorage + type Closer interface + Close func(ctx context.Context, removed bool) error + type Compatibility struct + Level string + Notes string + UnsupportedProps []string + type Context interface + CompareAndSwap func(key string, prev, next any) (bool, error) + Delete func(key string) error + Get func(key string) (any, bool, error) + Increment func(key string, delta float64) (float64, error) + Keys func() ([]string, error) + Set func(key string, value any) error + Update func(key string, fn func(cur any) (any, error)) (any, error) + type ContextScope string + const ScopeFlow + const ScopeGlobal + const ScopeNode + type Deferrer interface + Pending func() int + type Definition struct + Node *engine.Node + Services Services + type Descriptor struct + Align string + Category Category + Color string + Compatibility Compatibility + HasButton bool + Help string + Icon string + InputLabels []string + Inputs int + IsConfig bool + LabelProp string + OutputLabels []string + Outputs int + OutputsProp string + PaletteLabel string + Props []Prop + Type string + func (d *Descriptor) PropByName(name string) (*Prop, bool) + func (d *Descriptor) Validate() error + type Emitter interface + Done func(msg *engine.Msg, err error) + Error func(err error, msg *engine.Msg) + Log func(level LogLevel, format string, args ...any) + Publish func(topic string, data map[string]any) + Send func(port int, msg *engine.Msg) + SendAll func(byPort [][]*engine.Msg) + Status func(s Status) + type Factory func(def *Definition) (Node, error) + type LogLevel string + const LogDebug + const LogError + const LogInfo + const LogTrace + const LogWarn + type Node interface + Receive func(ctx context.Context, msg *engine.Msg, out Emitter) error + type Option struct + Label string + Value any + type Prop struct + ConfigType string + Default any + Fields []Prop + Help string + Kind PropKind + Label string + Language string + Name string + Options []Option + Placeholder string + Required bool + TypeProp string + TypedInputTypes []string + type PropKind string + const PropBool + const PropConfigRef + const PropCredential + const PropJS + const PropJSON + const PropJSONata + const PropList + const PropNumber + const PropSelect + const PropString + const PropText + const PropTypedInput + type Registration struct + Descriptor Descriptor + New Factory + type Registry struct + func NewRegistry() *Registry + func (r *Registry) Descriptors() []Descriptor + func (r *Registry) Len() int + func (r *Registry) Lookup(typ string) (Registration, bool) + func (r *Registry) Register(d Descriptor, f Factory) error + func (r *Registry) Types() []string + type Services interface + ConfigNode func(id string) (Node, bool) + Context func(scope ContextScope) Context + Credential func(key string) (string, bool) + Env func(name string) (string, bool) + Log func(level LogLevel, msg string, args ...any) + type Starter interface + Start func(ctx context.Context, out Emitter) error + type Status struct + Fill string + Shape string + Text string + func (s Status) Cleared() bool