Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
Servers []OPCServer `json:"servers"`
}
func (*Backend) DiscoverLights ¶
func (b *Backend) DiscoverLights(l *chromaticity.LightResource)
func (*Backend) ImportLights ¶
func (b *Backend) ImportLights(l *chromaticity.LightResource, from []byte)
type OPCLight ¶
type OPCLight struct { *chromaticity.LightInfo LightState *chromaticity.State `json:"state"` Chan *Channel `json:"-"` }
func (OPCLight) GetInfo ¶
func (o OPCLight) GetInfo() *chromaticity.LightInfo
func (OPCLight) GetNumPixels ¶
func (OPCLight) GetState ¶
func (o OPCLight) GetState() *chromaticity.State
Click to show internal directories.
Click to hide internal directories.