config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2017 License: MPL-2.0 Imports: 5 Imported by: 6

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
	ProxyIgnore        = false
	RouteHttp          = "0.0.0.0:80"
	RouteTls           = "0.0.0.0:443"
	Balancer           = "lvs"
	WorkDir            = "/var/db/portal"
	JustProxy          = false
	Server             = false
	Version            = false
)

Functions

func AddFlags

func AddFlags(cmd *cobra.Command)

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