feat: add redis cluster mode in option (#1178)

Signed-off-by: rfyiamcool <rfyiamcool@163.com>
This commit is contained in:
fengyun.rui
2023-10-12 10:46:31 +08:00
committed by GitHub
parent d8dbcbbec6
commit 8b649a55a2
3 changed files with 8 additions and 5 deletions
+4 -3
View File
@@ -75,9 +75,10 @@ type configStruct struct {
} `yaml:"mongo"`
Redis struct {
Address []string `yaml:"address"`
Username string `yaml:"username"`
Password string `yaml:"password"`
ClusterMode bool `yaml:"clusterMode"`
Address []string `yaml:"address"`
Username string `yaml:"username"`
Password string `yaml:"password"`
} `yaml:"redis"`
Kafka struct {