Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientNode ¶
type ClientNode struct { base.SharedNode[*nats.Conn] // 节点配置 Config ClientNodeConfiguration // contains filtered or unexported fields }
func (*ClientNode) Init ¶
func (x *ClientNode) Init(ruleConfig types.Config, configuration types.Configuration) error
Init 初始化
func (*ClientNode) New ¶
func (x *ClientNode) New() types.Node
func (*ClientNode) OnMsg ¶
func (x *ClientNode) OnMsg(ctx types.RuleContext, msg types.RuleMsg)
OnMsg 处理消息
Click to show internal directories.
Click to hide internal directories.