frostfs-node/pkg/services/object/head/prm.go

18 lines
239 B
Go
Raw Normal View History

package headsvc
import (
addressSDK "github.com/nspcc-dev/neofs-sdk-go/object/address"
)
type Prm struct {
addr *addressSDK.Address
}
func (p *Prm) WithAddress(v *addressSDK.Address) *Prm {
if p != nil {
p.addr = v
}
return p
}