config

package
v0.0.0-...-7e22eb6 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: MIT Imports: 5 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 {
	Leds              map[int]string `yaml:"leds,omitempty"`
	Stations          map[string]int
	LedCount          int `yaml:"led_count,omitempty"`
	Brightness        int `yaml:"brightness,omitempty"`
	MetarRefreshRateS int `yaml:"metar_refresh_rate_s,omitempty"` // seconds
	LedRefreshRateMS  int `yaml:"led_refresh_rate_ms,omitempty"`  // milliseconds
}

func GetConfig

func GetConfig() Config

Jump to

Keyboard shortcuts

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