config

package
v0.0.0-...-b6209dd Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: Apache-2.0 Imports: 4 Imported by: 2

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
	IndexPath            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