config

package
v0.0.0-...-60afc60 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2017 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfig

func InitConfig(filename string) error

InitConfig creates a config object from the give filename

Types

type Config

type Config struct {
	Logging struct {
		Destination string
	}
	Prometheus struct {
		Address string
	}
}

Config represent the yaml config file

func GetConfig

func GetConfig() Config

GetConfig returns the static config object

Jump to

Keyboard shortcuts

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