feat(redis): add REDIS_USERNAME support for Redis ACL

This commit is contained in:
Dounx
2026-02-04 18:48:04 +08:00
committed by lyingbug
parent c2cdc16712
commit 6e03f1ea79
8 changed files with 18 additions and 2 deletions
+1
View File
@@ -149,6 +149,7 @@ type StreamManagerConfig struct {
// RedisConfig Redis配置
type RedisConfig struct {
Address string `yaml:"address" json:"address"` // Redis地址
Username string `yaml:"username" json:"username"` // Redis用户名
Password string `yaml:"password" json:"password"` // Redis密码
DB int `yaml:"db" json:"db"` // Redis数据库
Prefix string `yaml:"prefix" json:"prefix"` // 键前缀