2022-07-06 16:41:35 +03:00
|
|
|
package common
|
|
|
|
|
|
|
|
import (
|
|
|
|
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 {
|
2022-07-08 10:09:48 +03:00
|
|
|
Address oid.Address
|
|
|
|
Object *objectSDK.Object
|
|
|
|
RawData []byte
|
|
|
|
DontCompress bool
|
2022-07-06 16:41:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// PutRes groups the resulting values of Put operation.
|
|
|
|
type PutRes struct {
|
2022-07-06 17:09:50 +03:00
|
|
|
StorageID []byte
|
2022-07-06 16:41:35 +03:00
|
|
|
}
|