sourcemanager

package
v0.0.0-...-6470968 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	// contains filtered or unexported fields
}

func NewInstance

func NewInstance() *Instance

func (*Instance) AddIfNotExist

func (i *Instance) AddIfNotExist(source deliver.FrameSource) bool

func (*Instance) AddSource

func (i *Instance) AddSource(id string, source deliver.FrameSource)

func (*Instance) Close

func (i *Instance) Close()

func (*Instance) DefaultSource

func (i *Instance) DefaultSource() deliver.FrameSource

func (*Instance) GetSource

func (i *Instance) GetSource(id string) deliver.FrameSource

func (*Instance) RemoveSource

func (i *Instance) RemoveSource(id string)

func (*Instance) SourceIDs

func (i *Instance) SourceIDs() []string

func (*Instance) Sources

func (i *Instance) Sources() map[string]deliver.FrameSource

Jump to

Keyboard shortcuts

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