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

This commit is contained in:
刘祥超
2021-05-24 09:23:51 +08:00
parent 3a93bf756a
commit 437914a321
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
}