chromecast

package
v0.0.0-...-b0e10ae Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Log = logging.Log.New("pkg", "drivers/chromecast")

Log is used to log messages for the chromecast package. Logs are disabled by default; use sift/logging.SetLevel() to set log levels for all packages, or Log.SetHandler() to set a custom handler for this package (see: https://godoc.org/gopkg.in/inconshreveable/log15.v2)

Functions

This section is empty.

Types

type AdapterFactory

type AdapterFactory struct{}

An AdapterFactory creates adapters

func NewFactory

func NewFactory() *AdapterFactory

NewFactory properly instantiates a new AdapterFactory

func (*AdapterFactory) GetIPv4Description

func (f *AdapterFactory) GetIPv4Description() ipv4.ServiceDescription

GetIPv4Description returns a description of the example IPv4 service that can be used to identify example services on a network

func (*AdapterFactory) HandleIPv4

func (f *AdapterFactory) HandleIPv4(context *ipv4.ServiceContext) adapter.Adapter

HandleIPv4 spawns a new Adapter to handle an IPv4 context

func (*AdapterFactory) Name

func (f *AdapterFactory) Name() string

Name returns the name of this adapter factory, "Google Chromecast"

Notes

Bugs

  • call to script uses relative pathing; will not work if called from the wrong spot!

Jump to

Keyboard shortcuts

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