1、新增 记录 进程搜索
2、增加未绑定分组搜索 3、缺失机器号提示
This commit is contained in:
@ -3,14 +3,24 @@ package config
|
||||
var ExtConfig Extend
|
||||
|
||||
// Extend 扩展配置
|
||||
// extend:
|
||||
// demo:
|
||||
// name: demo-name
|
||||
//
|
||||
// extend:
|
||||
// demo:
|
||||
// name: demo-name
|
||||
//
|
||||
// 使用方法: config.ExtConfig......即可!!
|
||||
type Extend struct {
|
||||
AMap AMap // 这里配置对应配置文件的结构即可
|
||||
AMap AMap // 这里配置对应配置文件的结构即可
|
||||
Redis RedisConfig `mapstructure:"redis"`
|
||||
}
|
||||
|
||||
type AMap struct {
|
||||
Key string
|
||||
}
|
||||
|
||||
// redis配置
|
||||
type RedisConfig struct {
|
||||
Addr string
|
||||
Password string
|
||||
Db int
|
||||
}
|
||||
|
||||
@ -48,6 +48,11 @@ settings:
|
||||
extend: # 扩展项使用说明
|
||||
demo:
|
||||
name: data
|
||||
# redis 配置
|
||||
redis:
|
||||
addr: "127.0.0.1:6379"
|
||||
password: ""
|
||||
db: 3
|
||||
cache:
|
||||
# redis:
|
||||
# addr: 127.0.0.1:6379
|
||||
|
||||
Reference in New Issue
Block a user