Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SubScribedServices []model.ServiceKey
)
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct { Subscribe // contains filtered or unexported fields }
Proxy proxy of WeightAdjuster
func (*Proxy) SetRealPlugin ¶
SetRealPlugin 设置
func (*Proxy) WatchService ¶
func (p *Proxy) WatchService(key model.ServiceKey) (interface{}, error)
type Subscribe ¶
type Subscribe interface { plugin.Plugin // 执行消息处理逻辑 DoSubScribe(event *common.PluginEvent) error // 订阅service消息 WatchService(key model.ServiceKey) (interface{}, error) }
Click to show internal directories.
Click to hide internal directories.