re-organize repo and add dockerfile.

This commit is contained in:
Michael Lehmann
2025-02-18 23:21:57 +01:00
parent 977475806c
commit 4042ea2147
16 changed files with 43 additions and 1 deletions

17
app/controller/data.go Normal file
View File

@@ -0,0 +1,17 @@
package controller
type StatusResponse struct {
Method string `json:"method"`
Env string `json:"env"`
Result PilotDetails `json:"result"`
}
type PilotDetails struct {
Mac string `json:"mac"`
RSSI int `json:"rssi"`
Src string `json:"src"`
State bool `json:"state"`
SceneId int `json:"sceneId"`
Temp int `json:"temp"`
Dimming int `json:"dimming"`
}