健康检查增加是否记录访问日志选项

This commit is contained in:
GoEdgeLab
2022-05-19 17:13:26 +08:00
parent eb559b930e
commit 802fdb67cb

View File

@@ -23,6 +23,7 @@ type HealthCheckConfig struct {
CountDown int `yaml:"countDown" json:"countDown"` // 连续离线认定次数
UserAgent string `yaml:"userAgent" json:"userAgent"` // 发起请求用的UserAgent
OnlyBasicRequest bool `yaml:"onlyBasicRequest" json:"onlyBasicRequest"` // 只做基础的请求不处理WAF、反向代理等
AccessLogIsOn bool `yaml:"accessLogIsOn" json:"accessLogIsOn"` // 是否关闭访问日志
}
// Init 初始化