Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Provider = wire.NewSet(NewConfig)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
RedisHost string `mapstructure:"REDIS_HOST"`
RedisPort string `mapstructure:"REDIS_PORT"`
RedisPassword string `mapstructure:"REDIS_PASSWORD"`
MySQLHost string `mapstructure:"MYSQL_HOST"`
MySQLPort string `mapstructure:"MYSQL_PORT"`
MySQLUser string `mapstructure:"MYSQL_USER"`
MySQLPassword string `mapstructure:"MYSQL_PASSWORD"`
MySQLDbName string `mapstructure:"MYSQL_DB_NAME"`
MongoHost string `mapstructure:"MONGO_HOST"`
MongoPort string `mapstructure:"MONGO_PORT"`
}
Click to show internal directories.
Click to hide internal directories.