Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventBroadcaster ¶
type EventBroadcaster struct {
// contains filtered or unexported fields
}
func NewEventBroadcaster ¶
func NewEventBroadcaster() *EventBroadcaster
func (*EventBroadcaster) AddListener ¶
func (eb *EventBroadcaster) AddListener(l EventListener)
func (*EventBroadcaster) Push ¶
func (eb *EventBroadcaster) Push(e interface{})
type EventListener ¶
type EventListener interface {
Handle(event interface{})
}
Click to show internal directories.
Click to hide internal directories.