多处增加是否独立配置选项

This commit is contained in:
GoEdgeLab
2020-09-23 18:43:50 +08:00
parent f3cb3e3880
commit 2bdb5c232a
17 changed files with 416 additions and 296 deletions

View File

@@ -2,7 +2,8 @@ package serverconfigs
// 代理访问日志配置
type HTTPAccessLogRef struct {
IsOn bool `yaml:"isOn" json:"isOn"`
IsPrior bool `yaml:"isPrior" json:"isPrior"` // 是否覆盖
IsOn bool `yaml:"isOn" json:"isOn"` // 是否启用
Fields []int `yaml:"fields" json:"fields"` // 记录的字段