fix:mastername
This commit is contained in:
parent
f25236549e
commit
ace40d5502
@ -16,7 +16,7 @@ import (
|
|||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
Debug bool `toml:"debug"` //调试开关(会在日志打印REDIS语句)
|
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互斥
|
MasterName string `toml:"mastername"` //REDIS主名称,值不为空是启动sentinal模式, 与Master互斥
|
||||||
Username string `toml:"username"` //REDIS连接用户名
|
Username string `toml:"username"` //REDIS连接用户名
|
||||||
Password string `toml:"password"` //REDIS连接用户密码
|
Password string `toml:"password"` //REDIS连接用户密码
|
||||||
|
Loading…
Reference in New Issue
Block a user