实现修改缓存配置

This commit is contained in:
GoEdgeLab
2020-09-20 16:27:59 +08:00
parent be912165b7
commit e3c55b5d7e
15 changed files with 802 additions and 191 deletions

View File

@@ -0,0 +1,6 @@
package serverconfigs
type HTTPCacheRef struct {
IsOn bool `yaml:"isOn" json:"isOn"` // 是否开启
CachePolicyId int64 `yaml:"cachePolicyId" json:"cachePolicyId"` // 缓存策略ID
}