Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventDispatcher ¶
type EventDispatcher struct {
// contains filtered or unexported fields
}
func NewEventDispatcher ¶
func NewEventDispatcher() (*EventDispatcher, error)
func (*EventDispatcher) Listen ¶
func (ed *EventDispatcher) Listen() *EventListener
func (*EventDispatcher) UpdateDevices ¶
func (ed *EventDispatcher) UpdateDevices(devices models.DeviceMap)
func (*EventDispatcher) UpdateStreams ¶
func (ed *EventDispatcher) UpdateStreams(streams models.StreamMap)
type EventListener ¶
type EventListener struct {
// contains filtered or unexported fields
}
func (*EventListener) Chan ¶
func (el *EventListener) Chan() <-chan *models.Event
func (*EventListener) Stop ¶
func (el *EventListener) Stop()
Click to show internal directories.
Click to hide internal directories.