Documentation
¶
Overview ¶
Package processor @Author Clover @Data 2025/3/7 下午8:17:00 @Desc 模块处理器
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Layer ¶ added in v0.7.0
type Layer struct { Level plugins.PluginLevel RecvChan chan *message.Message SendChan chan *message.Message Plugins []*plugins.IPlugin NextLayer *Layer // 下一层级 // contains filtered or unexported fields }
func (*Layer) GetPlugins ¶ added in v0.7.0
func (*Layer) StartHandle ¶ added in v0.7.0
func (l *Layer) StartHandle()
type Processor ¶
type Processor struct { LevelLayer []*Layer // contains filtered or unexported fields }
func (*Processor) RegisterPlugin ¶ added in v0.7.0
func (p *Processor) RegisterPlugin(level plugins.PluginLevel, plugin *plugins.IPlugin)
RegisterPlugin 注册插件到指定层级
Click to show internal directories.
Click to hide internal directories.