Documentation ¶
Index ¶
- Constants
- type Async
- type AsyncContext
- type AsyncInMessage
- type AsyncOutMessage
- type Condition
- type Debug
- type DebugContext
- type DebugControl
- type DebugIn
- type DebugSettings
- type Delay
- type DelayContext
- type DelayInMessage
- type DelayOutMessage
- type Mixer
- type MixerInputA
- type MixerInputAContext
- type MixerInputB
- type MixerInputBContext
- type MixerOutput
- type Modify
- type ModifyContext
- type ModifyInMessage
- type ModifyOutMessage
- type RouteName
- type Router
- type RouterContext
- type RouterInMessage
- type RouterOutMessage
- type RouterSettings
- type Scheduler
- type SchedulerContext
- type SchedulerInMessage
- type SchedulerOutMessage
- type SchedulerSettings
- type SchedulerTaskAck
- type Signal
- type SignalContext
- type SignalControl
- type SignalSettings
- type Task
- type Ticker
- type TickerContext
- type TickerControl
- type TickerSettings
- type TickerStatus
Constants ¶
View Source
const ( AsyncComponent = "common_async" AsyncInPort string = "in" AsyncOutPort string = "out" )
View Source
const ( DebugComponent = "debug" DebugInPort string = "in" )
View Source
const ( DelayComponent = "delay" DelayOutPort string = "out" DelayInPort string = "in" )
View Source
const ( MixerPortA string = "a" MixerPortB string = "b" MixerOutputPort string = "output" )
View Source
const ( ModifyComponent = "common_modify" ModifyInPort string = "in" ModifyOutPort string = "out" )
View Source
const ( RouterComponent = "router" RouterInPort = "input" RouterDefaultPort = "default" )
View Source
const ( SchedulerComponent = "scheduler" SchedulerOutPort string = "out" SchedulerInPort string = "in" SchedulerAckPort string = "ack" )
View Source
const ( SignalComponent = "signal" SignalOutPort string = "out" )
View Source
const ( TickerComponent = "ticker" TickerOutPort string = "out" TickerStatusPort string = "status" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Async ¶
type Async struct { }
func (*Async) GetInfo ¶
func (t *Async) GetInfo() module.ComponentInfo
type AsyncContext ¶
type AsyncContext any
type AsyncInMessage ¶
type AsyncInMessage struct {
Context AsyncContext `json:"context" configurable:"true" required:"true" title:"Context" description:"Arbitrary message to be modified"`
}
type AsyncOutMessage ¶
type AsyncOutMessage struct {
Context AsyncContext `json:"context"`
}
type Debug ¶
type Debug struct {
// contains filtered or unexported fields
}
func (*Debug) GetInfo ¶
func (t *Debug) GetInfo() module.ComponentInfo
type DebugContext ¶
type DebugContext any
type DebugControl ¶
type DebugControl struct {
Context DebugContext `json:"context" readonly:"true" required:"true" propertyOrder:"1" title:"Context"`
}
type DebugIn ¶
type DebugIn struct {
Context DebugContext `json:"context" configurable:"false" required:"true" title:"Context" propertyOrder:"1" title:"Context"`
}
type DebugSettings ¶
type DebugSettings struct {
Context DebugContext `json:"context" configurable:"true" required:"true" title:"Context" description:"Debug message" propertyOrder:"1"`
}
type Delay ¶
type Delay struct { }
func (*Delay) GetInfo ¶
func (t *Delay) GetInfo() module.ComponentInfo
type DelayContext ¶
type DelayContext any
type DelayInMessage ¶
type DelayInMessage struct { Context DelayContext `json:"context" configurable:"true" title:"Context" description:"Arbitrary message to be delayed" propertyOrder:"1"` Delay int `json:"delay" required:"true" title:"Delay (ms)" propertyOrder:"2"` }
type DelayOutMessage ¶
type DelayOutMessage struct { Delay int `json:"delay"` Context DelayContext `json:"context"` }
type Mixer ¶
type Mixer struct {
// contains filtered or unexported fields
}
func (*Mixer) GetInfo ¶
func (m *Mixer) GetInfo() module.ComponentInfo
type MixerInputA ¶ added in v0.1.87
type MixerInputA struct {
Context MixerInputAContext `json:"context" configurable:"true" required:"true" title:"Context" description:"Arbitrary message A"`
}
type MixerInputAContext ¶ added in v0.1.87
type MixerInputAContext any
type MixerInputB ¶ added in v0.1.87
type MixerInputB struct {
Context MixerInputBContext `json:"context" configurable:"true" required:"true" title:"Context" description:"Arbitrary message B"`
}
type MixerInputBContext ¶ added in v0.1.87
type MixerInputBContext any
type MixerOutput ¶
type MixerOutput struct { ContextA MixerInputAContext `json:"contextA"` ContextB MixerInputBContext `json:"contextB"` }
type Modify ¶
type Modify struct { }
func (*Modify) GetInfo ¶
func (t *Modify) GetInfo() module.ComponentInfo
type ModifyContext ¶
type ModifyContext any
type ModifyInMessage ¶
type ModifyInMessage struct {
Context ModifyContext `json:"context" configurable:"true" required:"true" title:"Context" description:"Arbitrary message to be modified"`
}
type ModifyOutMessage ¶
type ModifyOutMessage struct {
Context ModifyContext `json:"context"`
}
type RouteName ¶
RouteName special type which can carry its value and possible options for enum values
func (RouteName) JSONSchema ¶
func (*RouteName) MarshalJSON ¶
MarshalJSON treat like underlying Value string
func (*RouteName) UnmarshalJSON ¶
UnmarshalJSON treat like underlying Value string
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) GetInfo ¶
func (t *Router) GetInfo() module.ComponentInfo
type RouterContext ¶
type RouterContext any
type RouterInMessage ¶
type RouterInMessage struct { Context RouterContext `` /* 129-byte string literal not displayed */ Conditions []Condition `json:"conditions,omitempty" required:"true" title:"Conditions" minItems:"1" uniqueItems:"true" propertyOrder:"2"` }
type RouterOutMessage ¶
type RouterOutMessage struct { Route string `json:"route" required:"true" title:"Selected route" default:"A"` Context RouterContext `json:"context"` }
type RouterSettings ¶
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
func (*Scheduler) GetInfo ¶
func (s *Scheduler) GetInfo() module.ComponentInfo
type SchedulerContext ¶
type SchedulerContext any
type SchedulerInMessage ¶
type SchedulerInMessage struct { Context SchedulerContext `json:"context" title:"Context" configurable:"true" description:"Arbitrary message to be send further" propertyOrder:"1"` Task Task `json:"task" title:"Task" required:"true" propertyOrder:"2"` }
type SchedulerOutMessage ¶
type SchedulerOutMessage struct { Task Task `json:"task"` Context SchedulerContext `json:"context"` }
type SchedulerSettings ¶
type SchedulerSettings struct {
EnableAckPort bool `` /* 134-byte string literal not displayed */
}
type SchedulerTaskAck ¶
type SchedulerTaskAck struct { Task Task `json:"task"` Context SchedulerContext `json:"context"` ScheduledIn int64 `json:"scheduledIn"` }
type Signal ¶
type Signal struct {
// contains filtered or unexported fields
}
func (*Signal) GetInfo ¶
func (t *Signal) GetInfo() module.ComponentInfo
type SignalContext ¶
type SignalContext any
type SignalControl ¶
type SignalControl struct { Send bool `json:"send" format:"button" title:"Send" required:"true" propertyOrder:"1"` Context SignalContext `json:"context" required:"true" propertyOrder:"2" title:"Context"` }
type SignalSettings ¶
type SignalSettings struct { Context SignalContext `json:"context" required:"true" configurable:"true" title:"Context" description:"Arbitrary message to send" propertyOrder:"1"` Auto bool `json:"auto" title:"Auto send" required:"true" description:"Send signal automatically" propertyOrder:"2"` }
type Ticker ¶
type Ticker struct {
// contains filtered or unexported fields
}
func (*Ticker) GetInfo ¶
func (t *Ticker) GetInfo() module.ComponentInfo
type TickerContext ¶
type TickerContext any
type TickerControl ¶
type TickerControl struct {
Start bool `json:"start" required:"true" title:"Ticker state"`
}
type TickerSettings ¶
type TickerSettings struct { Period int `json:"period" required:"true" title:"Periodicity (ms)" minimum:"10" default:"1000" propertyOrder:"1"` EnableControlPort bool `` /* 146-byte string literal not displayed */ Context TickerContext `json:"context" configurable:"true" title:"Context" description:"Arbitrary message to be send each period of time"` }
type TickerStatus ¶
Click to show internal directories.
Click to hide internal directories.