Files
EdgeCommon/pkg/serverconfigs/http_cache_ref.go

12 lines
353 B
Go
Raw Normal View History

2020-09-20 16:27:59 +08:00
package serverconfigs
type HTTPCacheRef struct {
2020-09-23 18:43:50 +08:00
IsPrior bool `yaml:"isPrior" json:"isPrior"` // 是否覆盖
2020-09-20 16:27:59 +08:00
IsOn bool `yaml:"isOn" json:"isOn"` // 是否开启
CachePolicyId int64 `yaml:"cachePolicyId" json:"cachePolicyId"` // 缓存策略ID
}
2020-09-26 08:07:24 +08:00
func (this *HTTPCacheRef) Init() error {
return nil
}