config

package
v0.0.0-...-c3e7047 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2017 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildStrips

func BuildStrips(path string) *controller.Strips

Types

type StripDef

type StripDef struct {
	Name     string `yaml:"name"`
	RedPin   string `yaml:"redPin"`
	GreenPin string `yaml:"greenPin"`
	BluePin  string `yaml:"bluePin"`
}

type StripsDef

type StripsDef struct {
	Strips []*StripDef `yaml:"strips"`
}

func LoadStripsDefFromFile

func LoadStripsDefFromFile(path string) (*StripsDef, error)

Jump to

Keyboard shortcuts

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