forked from TrueCloudLab/frostfs-node
Alex Vanin
20de74a505
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
17 lines
222 B
Go
17 lines
222 B
Go
package headsvc
|
|
|
|
import (
|
|
oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id"
|
|
)
|
|
|
|
type Prm struct {
|
|
addr oid.Address
|
|
}
|
|
|
|
func (p *Prm) WithAddress(v oid.Address) *Prm {
|
|
if p != nil {
|
|
p.addr = v
|
|
}
|
|
|
|
return p
|
|
}
|