googlecast

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 9 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

func NewCastDevice

func NewCastDevice(service gopi.RPCServiceRecord) *castdevice

func NewCastEvent

func NewCastEvent(s gopi.Driver, t gopi.RPCEventType, d *castdevice) gopi.Event

Types

type GoogleCast

type GoogleCast struct {
	Discovery gopi.RPCServiceDiscovery
}

func (GoogleCast) Open

func (config GoogleCast) Open(logger gopi.Logger) (gopi.Driver, error)

Jump to

Keyboard shortcuts

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