events

package
v0.0.0-...-074f972 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL