Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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!