config

package
v0.0.0-...-cf3f09f Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEBUG = "debug"
	INFO  = "info"
	ERROR = "error"
	FATAL = "fatal"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LogLevel             string
	ImportPrefix         string
	OrgList              []string
	NoRedirectAgents     []string
	Overrides            map[string]string
	GithubAPIKey         string
	GithubStatusEndpoint string
	GithubURL            string
}

func Parse

func Parse(configPath string) (*Config, error)

func (*Config) GetLogLevel

func (c *Config) GetLogLevel() lager.LogLevel

Jump to

Keyboard shortcuts

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