Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitConfig()
Types ¶
type AppConfig ¶
type AppConfig struct { BitBucketURL string `mapstructure:"bitbucket_url"` BitBucketUser string `mapstructure:"bitbucket_user"` BitBucketPassword string `mapstructure:"bitbucket_password"` BitBucketAuthToken string `mapstructure:"bitbucket_token"` BitBucketRestTimeout int `mapstructure:"bitbucket_timeout"` BitBucketUserEmail string `mapstructure:"bitbucket_user_email"` GitHubUser string `mapstructure:"github_user"` GitHubPassword string `mapstructure:"github_password"` GitHubToken string `mapstructure:"github_token"` // TODO - reconfigure to enable override with environment variables GitHubTemplateRepositories []GitHubTemplateRepository `mapstructure:"github_template_repositories"` BitBucketTemplateRepositories []BitBucketTemplateRepository `mapstructure:"bitbucket_template_repositories"` Port string `mapstructure:"port"` }
var AuthConfig *AppConfig
Click to show internal directories.
Click to hide internal directories.