This repository has been archived on 2026-07-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
GoEdgeCommon/pkg/serverconfigs/http_cache_storage_file.go
T

12 lines
330 B
Go

package serverconfigs
// 文件缓存存储策略
type HTTPFileCacheStorage struct {
Dir string `yaml:"dir" json:"dir"` // 目录
MemoryPolicy *HTTPCachePolicy `yaml:"memoryPolicy" json:"memoryPolicy"` // 内存二级缓存
}
func (this *HTTPFileCacheStorage) Init() error {
return nil
}