2022-12-23 20:35:35 +03:00
|
|
|
package frostfsapiclient
|
2021-10-27 15:12:05 +03:00
|
|
|
|
|
|
|
import (
|
2023-03-07 16:38:26 +03:00
|
|
|
oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id"
|
2021-10-27 15:12:05 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
type objectAddressPrm struct {
|
2022-05-31 20:00:41 +03:00
|
|
|
objAddr oid.Address
|
2021-10-27 15:12:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetAddress sets address of the object.
|
2022-05-31 20:00:41 +03:00
|
|
|
func (x *objectAddressPrm) SetAddress(addr oid.Address) {
|
2021-10-27 15:12:05 +03:00
|
|
|
x.objAddr = addr
|
|
|
|
}
|
|
|
|
|
|
|
|
type getObjectPrm struct {
|
|
|
|
objectAddressPrm
|
|
|
|
}
|