mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 19:08:35 +08:00
规则引擎
This commit is contained in:
14
pkg/rule_engine/nodes/action_rpc_call_request_node.go
Normal file
14
pkg/rule_engine/nodes/action_rpc_call_request_node.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package nodes
|
||||
|
||||
type rPCCallRequestNode struct {
|
||||
bareNode
|
||||
TimeoutInSeconds int
|
||||
}
|
||||
|
||||
type rpcCallRequestNodeFactory struct{}
|
||||
|
||||
func (f rpcCallRequestNodeFactory) Name() string { return "RPCCallRequestNode" }
|
||||
func (f rpcCallRequestNodeFactory) Category() string { return NODE_CATEGORY_ACTION }
|
||||
func (f rpcCallRequestNodeFactory) Create(id string, meta Metadata) (Node, error) {
|
||||
return nil, nil
|
||||
}
|
||||
Reference in New Issue
Block a user