forked from TrueCloudLab/frostfs-node
[#235] services/object: Implement new GetRange algorithm
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
91d8e0a4de
commit
1d23483828
37 changed files with 703 additions and 1125 deletions
|
@ -25,7 +25,7 @@ type Service struct {
|
|||
type Option func(*cfg)
|
||||
|
||||
type getClient interface {
|
||||
GetObject(context.Context, Prm) (*objectSDK.Object, error)
|
||||
GetObject(context.Context, RangePrm) (*objectSDK.Object, error)
|
||||
}
|
||||
|
||||
type cfg struct {
|
||||
|
@ -38,7 +38,7 @@ type cfg struct {
|
|||
}
|
||||
|
||||
localStorage interface {
|
||||
Get(*objectSDK.Address) (*object.Object, error)
|
||||
Get(RangePrm) (*object.Object, error)
|
||||
}
|
||||
|
||||
clientCache interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue