公告板
版本库
filestore
活动
搜索
登录
aps
/
SRM
SRM system
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
采购单增删改查
zhangqian
2023-08-26
5193dcb9336e853502baf8a539d3f45efebe2f86
[aps/SRM.git]
/
config
/
redis.go
1
2
3
4
5
6
7
package config
type Redis struct {
Addr string `mapstructure:"addr" json:"addr" yaml:"addr"` // 服务器地址:端口
Password string `mapstructure:"password" json:"password" yaml:"password"` // 密码
DB int `mapstructure:"db" json:"db" yaml:"db"` // redis的哪个数据库
}