Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) ChangeInput(source string) (int, error)
- func (c *Client) ChannelDown() (int, error)
- func (c *Client) ChannelUp() (int, error)
- func (c *Client) GetActiveApp() (*models.ActiveApp, error)
- func (c *Client) GetApps() (*models.Apps, error)
- func (c *Client) GetDeviceInfo() (*models.DeviceInfo, error)
- func (c *Client) GetInputs() []string
- func (c *Client) Home() (int, error)
- func (c *Client) KeyDown(key *Key) (int, error)
- func (c *Client) KeyPress(key *Key) (int, error)
- func (c *Client) KeyUp(key *Key) (int, error)
- func (c *Client) LaunchApp(id *string)
- func (c *Client) PowerOff() (int, error)
- func (c *Client) PowerOn() (int, error)
- func (c *Client) VolumeDown() (int, error)
- func (c *Client) VolumeMute() (int, error)
- func (c *Client) VolumeUp() (int, error)
- type Key
Constants ¶
View Source
const (
Port = 8060
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ChangeInput ¶
ChangeInput ...
func (*Client) ChannelDown ¶
func (*Client) GetActiveApp ¶
GetActiveApp ...
func (*Client) GetDeviceInfo ¶
func (c *Client) GetDeviceInfo() (*models.DeviceInfo, error)
func (*Client) VolumeDown ¶
func (*Client) VolumeMute ¶
Click to show internal directories.
Click to hide internal directories.