Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
10 lines
258 B
Go
10 lines
258 B
Go
package redis
|
|
|
|
// Redis 配置项
|
|
type Options struct {
|
|
Addr string `json:"addr"` // 地址
|
|
Psw string `json:"psw"` // 密码
|
|
Db int `json:"db"` // 库
|
|
Subscribe bool `json:"subscribe"` // 是否有订阅功能
|
|
}
|