Documentation ¶
Index ¶
- type NsqPlugin
- type Plugin
- func (this *Plugin) AddReceiver(receiver string, handler nsq.Handler) *herrors.Error
- func (this *Plugin) Capability() htypes.Any
- func (this *Plugin) Close()
- func (this *Plugin) Config() core.IEntityConf
- func (this *Plugin) DelReceiver(receiver string)
- func (this *Plugin) EntityStub() *core.EntityStub
- func (this *Plugin) Notify(receiver string, content interface{}) *herrors.Error
- func (this *Plugin) Open(s core.IServer, ins core.IPlugin) *herrors.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NsqPlugin ¶
type NsqPlugin struct { core.PluginConf ServerAddr string }
type Plugin ¶
type Plugin struct { core.BasePlugin // contains filtered or unexported fields }
func (*Plugin) AddReceiver ¶
func (*Plugin) Capability ¶
func (*Plugin) Config ¶
func (this *Plugin) Config() core.IEntityConf
func (*Plugin) DelReceiver ¶
func (*Plugin) EntityStub ¶
func (this *Plugin) EntityStub() *core.EntityStub
Click to show internal directories.
Click to hide internal directories.