config

package
v0.0.0-...-cc072ef Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2016 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

config is a central location for configuration options. It also contains config file parsing logic.

Index

Constants

This section is empty.

Variables

View Source
var (
	ApiToken           = ""
	ApiHost            = "127.0.0.1"
	ApiPort            = "8443"
	ApiKey             = ""
	ApiCert            = ""
	ApiKeyPassword     = ""
	ConfigFile         = ""
	DatabaseConnection = "scribble:///var/db/portal"
	ClusterConnection  = "none://"
	ClusterToken       = ""
	Insecure           = false
	LogLevel           = "INFO"
	LogFile            = ""
	Log                lumber.Logger
	RouteHttp          = "0.0.0.0:80"
	RouteTls           = "0.0.0.0:443"
	JustProxy          = false
	Server             = false
)

Functions

func LoadConfigFile

func LoadConfigFile() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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