config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	NumLedsX      int     `mapstructure:"NUM_LEDS_X"`
	NumLedsY      int     `mapstructure:"NUM_LEDS_Y"`
	RefTimeMs     int     `mapstructure:"REFRESH_TIME_IN_MS"`
	WledIp        string  `mapstructure:"WLED_IP"`
	WledPort      int     `mapstructure:"WLED_PORT"`
	InterpolSteps int     `mapstructure:"INTERPOLATE_STEPS"`
	RCorrection   float32 `mapstructure:"R_CORRECTION"`
	GCorrection   float32 `mapstructure:"G_CORRECTION"`
	BCorrection   float32 `mapstructure:"B_CORRECTION"`
}

func Load

func Load() (config Config, err error)

Jump to

Keyboard shortcuts

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