Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeBridgeHome = "bridge_home" TypeGroupedLight = "grouped_light" TypeLight = "light" TypeZone = "zone" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventStream ¶
type EventStream struct {
Data []*Resource `json:"data"`
}
type RegistrationRequest ¶
type RegistrationResponse ¶
type RegistrationResponse struct { Error *RegistrationResponseError `json:"error"` Success *RegistrationResponseSuccess `json:"success"` }
type RegistrationResponseError ¶
type RegistrationResponseError struct {
Description string `json:"description"`
}
type RegistrationResponseSuccess ¶
type RegistrationResponseSuccess struct {
Username string `json:"username"`
}
type Resource ¶
type Resource struct { ID string `json:"id,omitempty"` Owner *Owner `json:"owner,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` On *On `json:"on,omitempty"` Dimming *Dimming `json:"dimming,omitempty"` Color *Color `json:"color,omitempty"` Dynamics *Dynamics `json:"dynamics,omitempty"` Type string `json:"type,omitempty"` }
type Response ¶
type Response struct { Errors []*Error `json:"errors"` Data json.RawMessage `json:"data"` }
Click to show internal directories.
Click to hide internal directories.