2020-09-22 15:04:08 +00:00
|
|
|
package headsvc
|
|
|
|
|
|
|
|
import (
|
2021-11-10 07:08:33 +00:00
|
|
|
"github.com/nspcc-dev/neofs-sdk-go/object"
|
2020-09-22 15:04:08 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Prm struct {
|
|
|
|
addr *object.Address
|
|
|
|
}
|
|
|
|
|
|
|
|
func (p *Prm) WithAddress(v *object.Address) *Prm {
|
|
|
|
if p != nil {
|
|
|
|
p.addr = v
|
|
|
|
}
|
|
|
|
|
|
|
|
return p
|
|
|
|
}
|