conf

package
v0.0.0-...-1149816 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2015 License: GPL-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ENV_PREFIX = "HASHTOCK_"
)

Variables

This section is empty.

Functions

func PrintConfHelp

func PrintConfHelp()

Types

type Config

type Config struct {
	General GeneralConf

	Jobs struct {
		BankOrders time.Duration
		TagValues  time.Duration
	}
}

func GetConfig

func GetConfig() *Config

type GeneralConf

type GeneralConf struct {
	ServeAddr   string
	AuthAddress string
	DB          string
	DBName      string
	NATS        string
}

Jump to

Keyboard shortcuts

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