config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FirstConfig

func FirstConfig(loc string) (string, error)

Types

type Config

type Config struct {
	Elgato   ElgatoConfig   `json:"elgato,omitempty"`
	Nanoleaf NanoleafConfig `json:"nanoleaf,omitempty"`
}

func Load

func Load(loc string) (*Config, error)

func LoadFile

func LoadFile(loc string) (*Config, error)

func LoadFiles

func LoadFiles(loc string) (*Config, error)

type ElgatoConfig

type ElgatoConfig struct {
	KeyLight []string `json:"keylight,omitempty"`
}

type NanoleafConfig

type NanoleafConfig struct {
	Aurora []string `json:"aurora,omitempty"`
}

Jump to

Keyboard shortcuts

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