[#1715] compression: Decouple Config and Compressor
Refactoring. Change-Id: Ide2e1378f30c39045d4bacd13a902331bd4f764f Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
98308d0cad
commit
8c746a914a
12 changed files with 49 additions and 41 deletions
|
@ -52,7 +52,7 @@ type Cache interface {
|
|||
|
||||
// MainStorage is the interface of the underlying storage of Cache implementations.
|
||||
type MainStorage interface {
|
||||
Compressor() *compression.Config
|
||||
Compressor() *compression.Compressor
|
||||
Exists(context.Context, common.ExistsPrm) (common.ExistsRes, error)
|
||||
Put(context.Context, common.PutPrm) (common.PutRes, error)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue