Versions in this module Expand all Collapse all v1 v1.0.8 Jul 8, 2022 Changes in this version + var Config = &MyConfig + type MyConfig struct + EnableDebug bool + EnableMySQL bool + EnableRedis bool + LogFile string + MySQLConfig MySQLConfig + Name string + RedisConfig RedisConfig + ServerConfig ServerConfig + type MySQLConfig struct + Charset string + ConnMaxLifetime int + Host string + MaxIdleConns int + MaxOpenConns int + Name string + Password string + Port string + Timeout int + Username string + type RedisConfig struct + ConnectionTimeout int + Db int + Host string + IdleTimeout int + MaxActive int + MaxIdle int + Password string + Port string + ReadTimeout int + WriteTimeout int + type ServerConfig struct + Host string + Port int + SSLCrtFile string + SSLKeyFile string + SSLName string