Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IPLogMiddleware ¶
IPLogMiddleware logs all request in the DEBUG level
Types ¶
type APIStatus ¶
type APIStatus struct { Status string `json:"status"` DevicesRegistered int `json:"registered"` DevicesOnline int `json:"deviceOnline"` }
APIStatus is for the status HTTP call
type PixelChannelUpdate ¶
type PixelChannelUpdate struct { Parent int `json:"parent"` // Device ID or Universe ID depending on context Pixels map[int]pixels.Pixel `json:"pixels"` // Key is the pixel number RGBW bool `json:"RGBW"` }
PixelChannelUpdate is submitted to update a strip
Click to show internal directories.
Click to hide internal directories.