mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-03-22 23:55:36 +08:00
实现缓存策略部分管理功能
This commit is contained in:
11
pkg/serverconfigs/http_cache_config_file.go
Normal file
11
pkg/serverconfigs/http_cache_config_file.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package serverconfigs
|
||||
|
||||
type CachePolicyType = string
|
||||
|
||||
type HTTPFileCacheConfig struct {
|
||||
Dir string `yaml:"dir" json:"dir"` // 目录
|
||||
}
|
||||
|
||||
func (this *HTTPFileCacheConfig) Init() error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user