forked from TrueCloudLab/frostfs-node
20 lines
453 B
Go
20 lines
453 B
Go
|
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"
|
||
|
)
|
||
|
|
||
|
// PutPrm groups the parameters of Put operation.
|
||
|
type PutPrm struct {
|
||
|
Address oid.Address
|
||
|
Object *objectSDK.Object
|
||
|
RawData []byte
|
||
|
}
|
||
|
|
||
|
// PutRes groups the resulting values of Put operation.
|
||
|
type PutRes struct {
|
||
|
BlobovniczaID *blobovnicza.ID
|
||
|
}
|