forked from TrueCloudLab/frostfs-node
[#1523] local_object_storage: Unify parameters for the Get
operation
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
b621f5983a
commit
d9a2f280c9
11 changed files with 73 additions and 103 deletions
16
pkg/local_object_storage/blobstor/common/get.go
Normal file
16
pkg/local_object_storage/blobstor/common/get.go
Normal file
|
@ -0,0 +1,16 @@
|
|||
package common
|
||||
|
||||
import (
|
||||
"github.com/nspcc-dev/neofs-node/pkg/local_object_storage/blobovnicza"
|
||||
objectSDK "github.com/nspcc-dev/neofs-sdk-go/object"
|
||||
oid "github.com/nspcc-dev/neofs-sdk-go/object/id"
|
||||
)
|
||||
|
||||
type GetPrm struct {
|
||||
Address oid.Address
|
||||
BlobovniczaID *blobovnicza.ID
|
||||
}
|
||||
|
||||
type GetRes struct {
|
||||
Object *objectSDK.Object
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue