Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventBus ¶
type EventBus struct {
// contains filtered or unexported fields
}
EventBus dispatch event
func (*EventBus) SetCondition ¶
SetCondition set condition
func (*EventBus) Subscribe ¶
func (eb *EventBus) Subscribe(topic, uuid string, ch chan *drivers.WatchEvent) error
Subscribe subscribe event for certain topic, here topic is database table
func (*EventBus) Unsubscribe ¶
Unsubscribe unsubscribe topic
Click to show internal directories.
Click to hide internal directories.