支持配置选择使用的数据库
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
package define
|
||||
|
||||
type Options struct {
|
||||
DB int `json:"db" yaml:"db" ini:"db" toml:"db"` // 选择的数据库序号
|
||||
Network string `json:"network" yaml:"network" ini:"network" toml:"network"` // 网络连接方式
|
||||
// A seed list of host:port addresses of cluster nodes.
|
||||
Addr string `json:"addr" yaml:"addr" ini:"addr" toml:"addr"` // 集群IP列表
|
||||
|
Reference in New Issue
Block a user