2020-09-22 15:04:08 +00:00
|
|
|
package headsvc
|
|
|
|
|
|
|
|
import (
|
2023-03-07 13:38:26 +00:00
|
|
|
oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id"
|
2020-09-22 15:04:08 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Prm struct {
|
2022-05-31 17:00:41 +00:00
|
|
|
addr oid.Address
|
2020-09-22 15:04:08 +00:00
|
|
|
}
|
|
|
|
|
2022-05-31 17:00:41 +00:00
|
|
|
func (p *Prm) WithAddress(v oid.Address) *Prm {
|
2020-09-22 15:04:08 +00:00
|
|
|
if p != nil {
|
|
|
|
p.addr = v
|
|
|
|
}
|
|
|
|
|
|
|
|
return p
|
|
|
|
}
|