config

package
v0.0.0-...-aa06bc0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2014 License: Apache-2.0 Imports: 2 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 {
	Address           string
	Port              int
	StaticDirectory   string
	LogLevel          string
	EtcdCluster       string
	HeartbeatInterval time.Duration

	CCAddress            string
	CCUsername           string
	CCPassword           string
	CCJobPollingInterval time.Duration
}

func New

func New() *Config

func (*Config) Validate

func (c *Config) Validate() []error

Jump to

Keyboard shortcuts

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