config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const BinaryName = "deloominator"

Variables

This section is empty.

Functions

func Help

func Help() error

Types

type Config

type Config struct {
	Port      int      `default:"3000"`
	Sources   []string `envconfig:"data_sources" required:"true"`
	Storage   string   `envconfig:"storage"`
	LogFormat string   `default:"JSON" split_words:"true"`
	Debug     bool     `default:"false"`
}

func GetConfig

func GetConfig() (*Config, error)

Jump to

Keyboard shortcuts

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