Documentation
¶
Index ¶
- func DeleteAnimation(w http.ResponseWriter, r *http.Request)
- func GetAnimation(w http.ResponseWriter, r *http.Request)
- func GetBrightness(w http.ResponseWriter, r *http.Request)
- func GetDiscovery(w http.ResponseWriter, r *http.Request)
- func GetSettings(w http.ResponseWriter, r *http.Request)
- func GetWifi(w http.ResponseWriter, r *http.Request)
- func Init(p_options *led.LedstripOptions)
- func PlayClear()
- func PlayDefaultAnimations()
- func PostAnimation(w http.ResponseWriter, r *http.Request)
- func PostBrightness(w http.ResponseWriter, r *http.Request)
- func PostSettings(w http.ResponseWriter, r *http.Request)
- func PostWifi(w http.ResponseWriter, r *http.Request)
- func Run(plog logr.Logger, args []string)
- func SetAnimation(anim AnimUnitDO)
- func StopAnimation(anim AnimStopDO)
- type AnimStopDO
- type AnimUnitDO
- type BrightnessDO
- type DiscoveryDO
- type OptionDO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAnimation ¶
func DeleteAnimation(w http.ResponseWriter, r *http.Request)
func GetAnimation ¶
func GetAnimation(w http.ResponseWriter, r *http.Request)
func GetBrightness ¶
func GetBrightness(w http.ResponseWriter, r *http.Request)
func GetDiscovery ¶
func GetDiscovery(w http.ResponseWriter, r *http.Request)
func GetSettings ¶
func GetSettings(w http.ResponseWriter, r *http.Request)
func Init ¶
func Init(p_options *led.LedstripOptions)
func PlayDefaultAnimations ¶
func PlayDefaultAnimations()
func PostAnimation ¶
func PostAnimation(w http.ResponseWriter, r *http.Request)
func PostBrightness ¶
func PostBrightness(w http.ResponseWriter, r *http.Request)
func PostSettings ¶
func PostSettings(w http.ResponseWriter, r *http.Request)
func SetAnimation ¶
func SetAnimation(anim AnimUnitDO)
func StopAnimation ¶
func StopAnimation(anim AnimStopDO)
Types ¶
type AnimStopDO ¶
type AnimUnitDO ¶
type BrightnessDO ¶
type BrightnessDO struct {
Brightness int `json:"brightness"`
}
type DiscoveryDO ¶
Click to show internal directories.
Click to hide internal directories.