Documentation ¶
Index ¶
- func Api(w http.ResponseWriter, r *http.Request)
- func Discovery(w http.ResponseWriter, r *http.Request)
- func LightInfo(w http.ResponseWriter, r *http.Request)
- func LightState(w http.ResponseWriter, r *http.Request)
- func Lights(w http.ResponseWriter, r *http.Request)
- func ToHueLights(ls map[int]*items.Light) map[string]*HueLight
- type HueLight
- type HueState
- type PointSymbol
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LightState ¶
func LightState(w http.ResponseWriter, r *http.Request)
Types ¶
type HueLight ¶
type HueLight struct { Name string `json:"name"` ManufacturerName string `json:"manufacturername"` ModelID string `json:"modelid"` Version string `json:"swversion"` Type string `json:"type"` ID string `json:"uniqueid"` State HueState `json:"state"` PointSymbol PointSymbol `json:"pointsymbol"` }
func ToHueLight ¶
type PointSymbol ¶
type PointSymbol struct { }
Click to show internal directories.
Click to hide internal directories.