forked from TrueCloudLab/frostfs-node
73f8bb3e5f
Allow to extend blobstor with more storage sub-systems. Currently objects stored in the FSTree have empty byte slice descriptor and object from blobovnicza tree have the same id as earlier. Each such change in the identifier formation should be accompanied with metabase version increase. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
16 lines
271 B
Go
16 lines
271 B
Go
package common
|
|
|
|
import (
|
|
objectSDK "github.com/nspcc-dev/neofs-sdk-go/object"
|
|
oid "github.com/nspcc-dev/neofs-sdk-go/object/id"
|
|
)
|
|
|
|
type GetRangePrm struct {
|
|
Address oid.Address
|
|
Range objectSDK.Range
|
|
StorageID []byte
|
|
}
|
|
|
|
type GetRangeRes struct {
|
|
Data []byte
|
|
}
|