fix:mastername

This commit is contained in:
bryanqiu 2024-06-21 17:29:37 +08:00
parent f25236549e
commit ace40d5502

View File

@ -16,7 +16,7 @@ import (
type Config struct {
Debug bool `toml:"debug"` //调试开关会在日志打印REDIS语句)
Master string `toml:"mastername"` //REDIS主host&port 与 MasterName 互斥
Master string `toml:"master"` //REDIS主host&port 与 MasterName 互斥
MasterName string `toml:"mastername"` //REDIS主名称,值不为空是启动sentinal模式, 与Master互斥
Username string `toml:"username"` //REDIS连接用户名
Password string `toml:"password"` //REDIS连接用户密码