redis interface

This commit is contained in:
wangchuxiao
2022-06-16 14:45:39 +08:00
parent 89ac29a019
commit b3dcff2d76
3 changed files with 31 additions and 15 deletions
+1
View File
@@ -102,6 +102,7 @@ type config struct {
DBMaxActive int `yaml:"dbMaxActive"`
DBIdleTimeout int `yaml:"dbIdleTimeout"`
DBPassWord string `yaml:"dbPassWord"`
EnableCluster bool `yaml:"enableCluster"`
}
RpcPort struct {
OpenImUserPort []int `yaml:"openImUserPort"`