Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Registry = &types.SafeComponentSlice{}
Functions ¶
This section is empty.
Types ¶
type ChainNode ¶
type ChainNode struct { //节点配置 Config ChainNodeConfiguration }
ChainNode 子规则链 如果找不到规则链,则把消息通过`Failure`关系发送到下一个节点 子规则链所有分支执行完后,把每个结束节点处理的消息合后通过`Success`关系发送到下一个节点。消息格式:[]WrapperMsg
type ChainNodeConfiguration ¶
type ChainNodeConfiguration struct { //TargetId 子规则链ID TargetId string }
ChainNodeConfiguration 节点配置
type RefNode ¶ added in v0.24.0
type RefNode struct { //节点配置 Config RefNodeConfiguration // contains filtered or unexported fields }
RefNode 引用指定规则链或者当前规则链节点,用于节点复用 格式:[{chainId}]:{nodeId},如果是引入本规则链,则格式为:{nodeId} 执行成功则使用该节点的输出关系发送到下一个节点 如果找不到节点,则把消息通过`Failure`关系发送到下一个节点
type RefNodeConfiguration ¶ added in v0.24.0
type RefNodeConfiguration struct { //TargetId 节点ID, TargetId string }
RefNodeConfiguration 节点配置
Click to show internal directories.
Click to hide internal directories.