实现访问日志配置

This commit is contained in:
刘祥超
2020-09-20 11:56:22 +08:00
parent 6a93d17e72
commit ec3dd3a1c8
15 changed files with 1203 additions and 144 deletions

View File

@@ -16,4 +16,5 @@ type HTTPWebConfig struct {
MaxRequestBodySize string `yaml:"maxRequestBodySize" json:"maxRequestBodySize"` // 请求body最大尺寸
RequestHeaders *shared.HTTPHeaderPolicy `yaml:"requestHeaders" json:"requestHeaders"` // 请求Header
ResponseHeaders *shared.HTTPHeaderPolicy `yaml:"responseHeaders" json:"responseHeaders"` // 响应Header`
AccessLog *HTTPAccessLogConfig `yaml:"accessLog" json:"accessLog"` // 访问日志配置
}