Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Production bool `mapstucture:"production"` // SuperUsername string `mapstructure:"super_username"` // SuperPassword string `mapstructure:"super_password"` // DBHost string `mapstructure:"db_host"` // DBPort string `mapstructure:"db_port"` // DBName string `mapstructure:"db_name"` // DBUser string `mapstructure:"db_user"` // DBPassword string `mapstructure:"db_password"` // AppName string `mapstructure:"app_name"` // AppBaseURL string `mapstructure:"base_url"` // AppBaseURLV1 string `mapstructure:"base_url_v1"` // AppPort string `mapstructure:"port"` // SecretKey string `mapstructure:"secretkey"` // SMTPHost string `mapstructure:"smtp_host"` // SMTPPort int `mapstructure:"smtp_port"` // SMTPSender string `mapstructure:"smtp_sender"` // SMTPEmail string `mapstructure:"smtp_email"` // SMTPPassword string `mapstructure:"smtp_password"` // RedisHost string `mapstructure:"redis_host"` // RedisPort string `mapstructure:"redis_port"` // RedisPassword string `mapstructure:"redis_password"` // RedisDB int `mapstructure:"redis_db"` // }
Config is struct from env variables
Click to show internal directories.
Click to hide internal directories.