frostfs-node/pkg/services/object/head/prm.go
Evgenii Stratonikov 95893927aa *: replace neofs-api-go with neofs-sdk-go
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-11-12 17:29:09 +03:00

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
}