Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DevMode bool `mapstructure:"dev_mode"` DB db.Config `yaml:"db"` Server server.Config `yaml:"server"` Logger logger.Config `yaml:"logger"` Services map[string]serviceregistry.ServiceConfig `` /* 241-byte string literal not displayed */ }
func LoadConfig ¶
LoadConfig Load config with viper.
Click to show internal directories.
Click to hide internal directories.