Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseDir ¶
func BaseDir() string
BaseDir returns the location of the directory where the configuration files are stored
func GetRedisPool ¶ added in v0.4.0
GetRedisPool returns a pool of Zoom connections
Types ¶
type Configuration ¶
type Configuration struct {
Cors cors.Cors
Repos repos.Repos
ReleasesEnabled bool `yaml:"releasesEnabled"`
TillerPortForward bool `yaml:"tillerPortForward"`
CacheRefreshInterval int64 `yaml:"cacheRefreshInterval"`
Redis redisConfig
Initialized bool
}
Configuration is the the resulting environment based Configuration For now it only includes Cors info
func GetConfig ¶
func GetConfig() (Configuration, error)
GetConfig returns the environment specific configuration
Click to show internal directories.
Click to hide internal directories.