config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_CONFIG = "config.ini"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Global struct {
		UseShortRevisions bool `default:"true"`
		GithubToken       string
	}
	HTTP struct {
		Listen             string `default:":8080"`
		GithubID           string
		GithubSecret       string
		GithubOrganization string
		GithubRedirectURL  string
	}
	Projects    map[string]*core.Project    `gcfg:"Project"`
	Enviroments map[string]*core.Enviroment `gcfg:"Enviroment"`
}

func (*Config) LoadEnviroments

func (c *Config) LoadEnviroments()

func (*Config) LoadFile

func (c *Config) LoadFile(filename string) error

func (*Config) LoadProjects

func (c *Config) LoadProjects()

Jump to

Keyboard shortcuts

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