conf

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Verbose        bool
	SampleFormat   string
	DoPrintVersion bool

	BindAddr = "127.0.0.1:4343"
	DataDir  = "./data"
	DBPath   string
	DBURL    string
	Health   bool
)

Functions

func Check

func Check() error

Check that configuration is valid.

func Dump

func Dump()

Dump configuration to log.

func Load

func Load() error

Load CLI options and environment variables

Types

This section is empty.

Jump to

Keyboard shortcuts

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