Documentation ¶
Index ¶
Constants ¶
View Source
const ( Unknown ProductType = 0x0000 GELinkBulb = 0xce3d GoControlSwitch = 0x0102 GoControlMotionSensor = 0x0203 GoControlSiren = 0x0503 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseDevice ¶
type MotionSensor ¶
type ProductType ¶
type ProductType int64
type Products ¶
type Products struct { Lights []Light Switches []Switch MotionSensors []MotionSensor Sirens []Siren }
type Response ¶
type Response struct { Status int `json: "status"` Result string `json: "result"` Error string `json: "active"` }
func (*Response) Respond ¶
func (r *Response) Respond(w http.ResponseWriter)
Click to show internal directories.
Click to hide internal directories.