Documentation ¶ Index ¶ Variables func GetLights() func GetProviderLights(id int) error func Off(id int) error func On(id int) error type Provider func NewProvider(conf config.ProviderConfig) (Provider, error) Constants ¶ This section is empty. Variables ¶ View Source var Providers map[string]Provider = make(map[string]Provider) Functions ¶ func GetLights ¶ func GetLights() func GetProviderLights ¶ func GetProviderLights(id int) error func Off ¶ func Off(id int) error func On ¶ func On(id int) error Types ¶ type Provider ¶ type Provider interface { GetLights() error GetLight(id string) error On(id string) error Off(id string) error } func NewProvider ¶ func NewProvider(conf config.ProviderConfig) (Provider, error) Source Files ¶ View all Source files provider.go Directories ¶ Show internal Expand all Path Synopsis domoticz items Click to show internal directories. Click to hide internal directories.