config

package
v0.0.0-...-85b3d98 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BaseDomain    string `envconfig:"base_domain"`
	DockerHost    string `envconfig:"docker_host"    default:"tcp://localhost:2375"`
	EtcdEndpoint  string `envconfig:"etcd_endpoint"  default:"http://localhost:2379"`
	MaxAppDeploy  int64  `envconfig:"max_app_deploy" default:"10"`
	RepositoryDir string `envconfig:"repository_dir" default:"/repos"`
	URIScheme     string `envconfig:"uri_scheme"     default:"http"`
}

func LoadConfig

func LoadConfig() (*Config, error)

Jump to

Keyboard shortcuts

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