From 93cd4f04521a1f76f8771c40495afe5ee7fd84f8 Mon Sep 17 00:00:00 2001 From: yourok <8yourok8@mail.ru> Date: Fri, 20 Sep 2019 13:17:10 +0300 Subject: [PATCH] add get cache func --- src/server/torr/storage/Storage.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/torr/storage/Storage.go b/src/server/torr/storage/Storage.go index e80cc3a..7a174b4 100644 --- a/src/server/torr/storage/Storage.go +++ b/src/server/torr/storage/Storage.go @@ -11,5 +11,6 @@ type Storage interface { storage.ClientImpl GetStats(hash metainfo.Hash) *state.CacheState + GetCache(hash metainfo.Hash) interface{} CloseHash(hash metainfo.Hash) }