add get cache func

This commit is contained in:
yourok
2019-09-20 13:17:10 +03:00
parent fa40557bfb
commit 93cd4f0452

View File

@@ -11,5 +11,6 @@ type Storage interface {
storage.ClientImpl
GetStats(hash metainfo.Hash) *state.CacheState
GetCache(hash metainfo.Hash) interface{}
CloseHash(hash metainfo.Hash)
}