Versions in this module Expand all Collapse all v1 v1.0.0 Oct 13, 2022 Changes in this version + func Load() + type AppConfig struct + MySQL *MySQLConfig + Redis *RedisConfig + Server *ServerConfig + var AppCfg *AppConfig + type MySQLConfig struct + Host string + MaxIdle int + MaxIdleTime int + MaxLifeTime int + MaxOpen int + Name string + Pass string + Port int + User string + type RedisConfig struct + Addr string + Db int + DialTimeout int + IdleTimeout int + MaxConn int + MaxConnAge int + MaxRetries int + MinIdle int + Pass string + type ServerConfig struct + Host string + Port int