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) LoadProjects ¶
func (c *Config) LoadProjects()
Click to show internal directories.
Click to hide internal directories.