Discover Packages
github.com/IoTPanic/pixelpusher
internal
api
package
Version:
v0.0.0-...-5e29a04
Opens a new window with list of versions in this module.
Published: May 2, 2020
License: LGPL-3.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
IPLogMiddleware logs all request in the DEBUG level
type APIStatus struct {
Status string `json:"status"`
DevicesRegistered int `json:"registered"`
DevicesOnline int `json:"deviceOnline"`
}
APIStatus is for the status HTTP call
type PixelChannelUpdate struct {
Parent int `json:"parent"`
Pixels map[int ]pixels .Pixel `json:"pixels"`
RGBW bool `json:"RGBW"`
}
PixelChannelUpdate is submitted to update a strip
Source Files
¶
Click to show internal directories.
Click to hide internal directories.