backends

package
v0.0.0-...-33c2882 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discover

func Discover(l *chromaticity.LightResource)

func Load

func Load(l *chromaticity.LightResource, configfile string)

func RegisterDiscoveryApi

func RegisterDiscoveryApi(container *restful.Container, l *chromaticity.LightResource)

func Sync

func Sync()

Types

type Backend

type Backend interface {
	//ExportLights(l *chromaticity.LightResource) (string)
	ImportLights(l *chromaticity.LightResource, from []byte)
	DiscoverLights(l *chromaticity.LightResource)
	GetType() string
	Sync()
}

type DiscoverResource

type DiscoverResource struct {
	*chromaticity.LightResource
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL