Documentation
¶
Index ¶
- Constants
- Variables
- type Client
- func (c *Client) Close()
- func (c *Client) Connect(ctx context.Context) error
- func (c *Client) Device() string
- func (c *Client) IP() net.IP
- func (c *Client) IsPlaying(ctx context.Context) bool
- func (c *Client) Media(ctx context.Context) (*controllers.MediaController, error)
- func (c *Client) Name() string
- func (c *Client) NewChannel(sourceId, destinationId, namespace string) *castnet.Channel
- func (c *Client) Port() int
- func (c *Client) Receiver() *controllers.ReceiverController
- func (c *Client) SetInfo(info map[string]string)
- func (c *Client) SetName(name string)
- func (c *Client) Status() string
- func (c *Client) String() string
- func (c *Client) URL(ctx context.Context) (*controllers.URLController, error)
- func (c *Client) Uuid() string
Constants ¶
View Source
const AppMedia = "CC1AD845"
View Source
const AppURL = "5CB45E5A"
View Source
const DefaultReceiver = "receiver-0"
View Source
const DefaultSender = "sender-0"
View Source
const TransportReceiver = "Tr@n$p0rt-0"
View Source
const TransportSender = "Tr@n$p0rt-0"
Variables ¶
View Source
var Version string = "dev" /* passed in by travis build */
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) Media ¶
func (c *Client) Media(ctx context.Context) (*controllers.MediaController, error)
func (*Client) NewChannel ¶
func (*Client) Receiver ¶
func (c *Client) Receiver() *controllers.ReceiverController
func (*Client) URL ¶
func (c *Client) URL(ctx context.Context) (*controllers.URLController, error)
Directories
¶
Path | Synopsis |
---|---|
Package api is a generated protocol buffer package.
|
Package api is a generated protocol buffer package. |
cmd
|
|
Package discovery provides a discovery service for chromecast devices
|
Package discovery provides a discovery service for chromecast devices |
Click to show internal directories.
Click to hide internal directories.