Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveSource ¶
func RemoveSource()
Types ¶
type InternalEventBus ¶
* * 内部事件总线 *
func InitInternalEventBus ¶
func InitInternalEventBus(r typex.RuleX, MaxQueueSize int) *InternalEventBus
*
- 内部事件,例如资源挂了或者设备离线、超时等等,该资源是单例模式, 维护一个channel来接收各种事件,将收到的消息吐到InterQueue即可
*
func (*InternalEventBus) GetSize ¶
func (q *InternalEventBus) GetSize() int
Click to show internal directories.
Click to hide internal directories.