Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
Types ¶
type ConfigWrapper ¶
type ConfigWrapper struct { Config Config // contains filtered or unexported fields }
func GetConfigWrapper ¶
func GetConfigWrapper() *ConfigWrapper
func (*ConfigWrapper) GetCurrent ¶
func (configWrapper *ConfigWrapper) GetCurrent() *EnvConfig
type EnvConfig ¶
type EnvConfig struct { MongoHost string `yaml:"mongo_host"` Env string `yaml:"env"` EmailServerAddress string `yaml:"email_server_address"` EmailServerPort int `yaml:"email_server_port"` EmailServerUsername string `yaml:"email_server_username"` EmailServerPassword string `yaml:"email_server_password"` EmailServerFrom string `yaml:"email_server_from"` EmailServerBcc string `yaml:"email_server_bcc"` LogPath string `yaml:"log_path"` AdminAuth string `yaml:"admin_auth"` DashboardBaseUrl string `yaml:"dashboard_base_url"` SessionKey string `yaml:"session_key"` GuestWebsiteUrl string `yaml:"guest_website_url"` }
Click to show internal directories.
Click to hide internal directories.