config

package
v6.6.2-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Period: 1 * time.Minute,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Period  time.Duration `config:"period"`
	Regions []Region      `conig:"regions"`
	AppId   string        `config:"appid"`
}

type Region

type Region struct {
	Enabled     bool   `config:"enabled"`
	Name        string `config:"name"`
	Description string `config:"description"`
	LonLeft     int    `config:"lon-left"`
	LatBottom   int    `config:"lat-bottom"`
	LonRight    int    `config:"lon-right"`
	LatTop      int    `config:"lat-top"`
	Zoom        int    `config:"zoom"`
}

Jump to

Keyboard shortcuts

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