Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { HttpPort int `env:"HTTP_PORT" envDefault:"8080"` GormMasterDSN string `env:"GORM_MASTER_DSN,required"` RedisDSN string `env:"REDIS_DSN"` RedisPassword string `env:"REDIS_PASSWORD"` GormMasterPoolConfig string `env:"GORM_MASTER_POOL_CONFIG" envDefault:"MaxOpenConns=100&MaxIdleConns=50&ConnMaxIdleTime=1200&ConnMaxLifetime=1800"` //amqp://guest:guest@localhost RabbitAddrUrl string `env:"RABBIT_ADDR_URL,required"` }
var Configs Config
Click to show internal directories.
Click to hide internal directories.