chromecast

package
v1.0.41 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceName = "_googlecast._tcp."
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cast

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

func NewCast

func NewCast(instance Service) *Cast

func (*Cast) String

func (this *Cast) String() string

type Config

type Config struct {
}

type Manager

type Manager struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewManager

func NewManager(cfg Config) *Manager

func (*Manager) Add

func (this *Manager) Add(instance Service) error

func (*Manager) Get

func (this *Manager) Get(id string) *Cast

func (*Manager) Remove

func (this *Manager) Remove(instance Service) error

func (*Manager) Run

func (this *Manager) Run(ctx context.Context) error

func (*Manager) String

func (this *Manager) String() string

Jump to

Keyboard shortcuts

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