95893927aa
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
17 lines
212 B
Go
17 lines
212 B
Go
package headsvc
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neofs-sdk-go/object"
|
|
)
|
|
|
|
type Prm struct {
|
|
addr *object.Address
|
|
}
|
|
|
|
func (p *Prm) WithAddress(v *object.Address) *Prm {
|
|
if p != nil {
|
|
p.addr = v
|
|
}
|
|
|
|
return p
|
|
}
|