[缓存]实现按照目录刷新缓存

This commit is contained in:
刘祥超
2020-12-23 21:28:50 +08:00
parent 1ea63ab8c6
commit ba9e8b7680
8 changed files with 66 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ type StorageInterface interface {
CleanAll() error
// 批量删除缓存
Purge(keys []string) error
Purge(keys []string, urlType string) error
// 停止缓存策略
Stop()