[feat]添加规则引擎debug功能

This commit is contained in:
PandaX
2023-10-27 16:13:17 +08:00
parent 0fcb262519
commit 28e0bcbe1c
34 changed files with 298 additions and 255 deletions

View File

@@ -19,7 +19,7 @@ type externalRuleChainNodeFactory struct{}
func (f externalRuleChainNodeFactory) Name() string { return "RuleChainNode" }
func (f externalRuleChainNodeFactory) Category() string { return NODE_CATEGORY_FLOWS }
func (f externalRuleChainNodeFactory) Labels() []string { return []string{} }
func (f externalRuleChainNodeFactory) Create(id string, meta Metadata) (Node, error) {
func (f externalRuleChainNodeFactory) Create(id string, meta Properties) (Node, error) {
node := &externalRuleChainNode{
bareNode: newBareNode(f.Name(), id, meta, f.Labels()),
}