Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Boblight ¶ added in v1.4.0
type Boblight struct { Input *Host `json:"input"` // Required Output *Host `json:"output"` // Required }
Boblight stores the boblight json configuration structure
type Config ¶
type Config struct { XBMC *Host `json:"xbmc"` // Deprecated Kodi *Host `json:"kodi"` // Required (if XBMC not provided) Hyperion *Hyperion `json:"hyperion"` // Optional LIFX *LIFX `json:"lifx"` // Optional Boblight *Boblight `json:"boblight"` // Optional Debug *bool `json:"debug"` // Optional Callbacks interface{} `json:"callbacks"` // Required }
Config stores the json configuration structure.
type Host ¶ added in v1.0.0
type Host struct { Address string `json:"address"` // Required Port uint16 `json:"port"` // Required Timeout *Timeout `json:"timeout"` // Optional }
Host contains the IP address, port and timeout for TCP/UDP connections.
type Hyperion ¶ added in v1.5.0
type Hyperion struct { Input *Host `json:"input"` // Optional Output *Host `json:"output"` // Required, unless legacy configuration *Host // Embedded host to support legacy configuration }
Hyperion stores the hyperion json configuration structure
Click to show internal directories.
Click to hide internal directories.