Documentation
¶
Index ¶
- type Config
- type Lsd
- func (lsd *Lsd) Close()
- func (lsd *Lsd) ConnectScreen()
- func (lsd *Lsd) CreateWs() error
- func (lsd *Lsd) GetAPIList()
- func (lsd *Lsd) GetIcon() []byte
- func (lsd *Lsd) GetTrayMenuItems() *TrayMenu
- func (lsd *Lsd) HandleSig(sig os.Signal)
- func (lsd *Lsd) HandleWsMsg(b []byte)
- func (lsd *Lsd) InitTray(cmd string) func()
- func (lsd *Lsd) ListenClick()
- func (lsd *Lsd) ListenSig()
- func (lsd *Lsd) ListenWs()
- func (lsd *Lsd) LoadConfig()
- func (lsd *Lsd) PingScreen()
- func (lsd *Lsd) SaveConfig()
- func (lsd *Lsd) SendWs(m *Message)
- func (lsd *Lsd) TurnOffScreen()
- func (lsd *Lsd) TurnOnScreen()
- func (lsd *Lsd) VerifyConnect()
- type Manifest
- type Message
- type Payload
- type Signature
- type Signed
- type TrayMenu
- type Ws
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lsd ¶
type Lsd struct { Config *Config ConfigPath string TrayMenu *TrayMenu Ws *Ws TVConnected bool SigChann chan os.Signal ExitChann chan bool ConfigFilePath string }
func (*Lsd) ConnectScreen ¶
func (lsd *Lsd) ConnectScreen()
func (*Lsd) GetAPIList ¶
func (lsd *Lsd) GetAPIList()
func (*Lsd) GetTrayMenuItems ¶
func (*Lsd) HandleWsMsg ¶
func (*Lsd) ListenClick ¶
func (lsd *Lsd) ListenClick()
func (*Lsd) LoadConfig ¶
func (lsd *Lsd) LoadConfig()
func (*Lsd) PingScreen ¶
func (lsd *Lsd) PingScreen()
func (*Lsd) SaveConfig ¶
func (lsd *Lsd) SaveConfig()
func (*Lsd) TurnOffScreen ¶
func (lsd *Lsd) TurnOffScreen()
func (*Lsd) TurnOnScreen ¶
func (lsd *Lsd) TurnOnScreen()
func (*Lsd) VerifyConnect ¶
func (lsd *Lsd) VerifyConnect()
type Signed ¶
type Signed struct { Created string `json:"created"` AppId string `json:"appId"` VendorId string `json:"vendorId"` LocalizedAppNames map[string]string `json:"localizedAppNames"` LocalizedVendorNames map[string]string `json:"localizedVendorNames"` Permissions []string `json:"permissions"` Serial string `json:"serial"` }
Click to show internal directories.
Click to hide internal directories.