mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-01-25 02:15:47 +08:00
提交二级缓存缺失代码
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package serverconfigs
|
||||
|
||||
// 文件缓存存储策略
|
||||
type HTTPFileCacheStorage struct {
|
||||
Dir string `yaml:"dir" json:"dir"` // 目录
|
||||
Dir string `yaml:"dir" json:"dir"` // 目录
|
||||
MemoryPolicy *HTTPCachePolicy `yaml:"memoryPolicy" json:"memoryPolicy"` // 内存二级缓存
|
||||
}
|
||||
|
||||
func (this *HTTPFileCacheStorage) Init() error {
|
||||
|
||||
Reference in New Issue
Block a user