Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetMainConfig ¶
Types ¶
type MainConfig ¶
type MainConfig struct { ServiceName string `mapstructure:"servicename"` Environment string `mapstructure:"environment"` Log configs.LoggerConfig `mapstructure:"log"` ETCD etcdclient.ETCDConfigs `mapstructure:"etcd"` Redis redisdb.RedisConfig `mapstructure:"redis"` WebServer WebServerConfig `mapstructure:"webserver"` RabbitMQURL string `mapstructure:"rabbitmqurl"` }
func GetMainConfig ¶
func GetMainConfig() *MainConfig
type WebServerConfig ¶
Click to show internal directories.
Click to hide internal directories.