googlecast

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SERVICE_TYPE_GOOGLECAST = "_googlecast._tcp"
	DELTA_LOOKUP_TIME       = 60 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cast

type Cast struct {
	Discovery gopi.RPCServiceDiscovery
}

func (Cast) Name

func (Cast) Name() string

func (Cast) New

func (config Cast) New(log gopi.Logger) (gopi.Unit, error)

type Lookup

type Lookup struct {
	Discovery gopi.RPCServiceDiscovery

	sync.Mutex
	sync.WaitGroup
	// contains filtered or unexported fields
}

func (*Lookup) Start

func (this *Lookup) Start(service string) error

Start lookup in background

func (*Lookup) Stop

func (this *Lookup) Stop()

Stop lookup

Jump to

Keyboard shortcuts

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