MSP-1388 [+] добавлена настройка для sentinel
This commit is contained in:
1 parent
265dbc6250
commit
7a03f4e49b
3 files changed
+13
-2
No files matched your search
@@ -26,6 +26,7 @@ type Remote struct {
|
||||
LogLevel log.Level `schemaGen:"logLevel" schema:"Уровень логирования"`
|
||||
Redis struct {
|
||||
Server string `schemaGen:"server" schema:"Адрес сервера redis, обязателен, если sentinel не указан"`
|
||||
UserName string `schemaGen:"userName" schema:"Имя пользователя в redis"`
|
||||
Password string `schemaGen:"password" schema:"Пароль для redis"`
|
||||
DB int `schemaGen:"db" schema:"номер БД в redis"`
|
||||
Prefix string `schemaGen:"prefix" schema:"Префикс ключей для модуля"`
|
||||
|
||||
Reference in new issue
Block a user