package
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Apr 16, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Entry point for the brightness on commands.
Checks the arguments and decides what
is required to do.
Control struct manages the control
json data that will be send to govee.
Send sends all the data to govee to set
the value of the brightness
type ControlCmd struct {
Name string `json:"name"`
Value int `json:"value"`
}
ControlCmd is the control command
json that will be sent to govee.
type Response struct {
Code int `json:"code"`
Message string `json:"message"`
}
Response struct is for parsing the json
returned by govee.
Fill fills the response struct with the
data provided by govee.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.