支持缓存策略全局的缓存条件/X-Cache中加入更多信息

This commit is contained in:
GoEdgeLab
2021-05-24 09:23:51 +08:00
parent 342568d71f
commit 46ecb8e47d
6 changed files with 45 additions and 24 deletions

View File

@@ -16,6 +16,10 @@ func (this *MemoryReader) Init() error {
return nil
}
func (this *MemoryReader) TypeName() string {
return "memory"
}
func (this *MemoryReader) Status() int {
return this.item.Status
}