config

package
v0.0.0-...-a488d09 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 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 {
	Grafana  grafana
	Font     font
	Rect     map[string]rect
	Position position
}

Config contains configuration options.

func GetGlobalConfig

func GetGlobalConfig() *Config

GetGlobalConfig returns global configurations.

func (*Config) SetConfig

func (c *Config) SetConfig(configFile string) error

SetConfig ... loads config options from a toml file.

Jump to

Keyboard shortcuts

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