实现统计设置

This commit is contained in:
GoEdgeLab
2020-09-20 14:48:41 +08:00
parent ea7499ff5d
commit eb38e7d050
3 changed files with 43 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ type HTTPWeb struct {
RequestHeaderPolicyId uint32 `field:"requestHeaderPolicyId"` // Request Header策略ID
ResponseHeaderPolicyId uint32 `field:"responseHeaderPolicyId"` // Response Header策略
AccessLog string `field:"accessLog"` // 访问日志配置
Stat string `field:"stat"` // 统计配置
}
type HTTPWebOperator struct {
@@ -47,6 +48,7 @@ type HTTPWebOperator struct {
RequestHeaderPolicyId interface{} // Request Header策略ID
ResponseHeaderPolicyId interface{} // Response Header策略
AccessLog interface{} // 访问日志配置
Stat interface{} // 统计配置
}
func NewHTTPWebOperator() *HTTPWebOperator {