Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
func (*Node) LoadNodeConfig ¶
func (*Node) WaitForEvent ¶
func (node *Node) WaitForEvent(responseChannel chan model.ReactorEvent)
type NodeConfig ¶
type NodeConfig struct {
TargetVariableName string // Variable
TargetVariableType string
IsTargetVariableGlobal bool
IsTargetVariableInMemory bool
TransformType string // map , calc , str-to-json ,json-to-str , jpath , xpath , template
IsRVariableGlobal bool // true - update global variable ; false - update local variable
IsLVariableGlobal bool // true - update global variable ; false - update local variable
Expression string // type of transform operation , flip , add , subtract , multiply , divide , to_bool
RType string // var , const
RValue model.Variable // Constant Right variable value .
RVariableName string // Right variable name , if empty , RValue will be used instead
LVariableName string // Update input message if LVariable is empty
ValueMapping []ValueMappingRecord // ["LValue":1,"RValue":"mode-1"]
XPathMapping []TransformXPathRecord
Template string // template used in jtemplate transformation
}
type TransformXPathRecord ¶
Click to show internal directories.
Click to hide internal directories.