Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintConfig ¶
func PrintConfig(cfg Config)
Types ¶
type Config ¶
type Config struct { Username string Key string Scenes []SceneConfig }
Config models the configuration information.
func ReadConfig ¶
ReadConfig reads a file and returns a
func ReadConfigFromStdin ¶
func UnmarshalConfig ¶
UnmarshalConfig unmarshals raw config and returns a Config.
type SceneConfig ¶
type SceneConfig struct { Name string Color string Brightness uint8 Power YAMLPower Lights []SceneLightConfig }
SceneConfig models the scene-specific configuration information.
type SceneLightConfig ¶
SceneLightConfig models the light-specific configuration information for a scene.
Click to show internal directories.
Click to hide internal directories.