[优化]大改动,指令下发采用规则链rpc请求

This commit is contained in:
PandaX
2023-10-14 10:00:05 +08:00
parent 42be3b23e4
commit 7c8001a687
54 changed files with 1256 additions and 294 deletions

View File

@@ -43,7 +43,7 @@ func newInstanceWithManifest(m *manifest.Manifest) (*ruleChainInstance, []error)
// StartRuleChain TODO 是否需要添加context
func (c *ruleChainInstance) StartRuleChain(context context.Context, message *message.Message) error {
if node, found := c.nodes[c.firstRuleNodeId]; found {
node.Handle(message)
return node.Handle(message)
}
return nil
}