dd16f568c3
Head service receives right child of the processing object in some cases. Add right child to Head result in order to use it as needed. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
17 lines
272 B
Go
17 lines
272 B
Go
package headsvc
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neofs-node/pkg/core/object"
|
|
)
|
|
|
|
type Response struct {
|
|
hdr, rightChild *object.Object
|
|
}
|
|
|
|
func (r *Response) Header() *object.Object {
|
|
return r.hdr
|
|
}
|
|
|
|
func (r *Response) RightChild() *object.Object {
|
|
return r.rightChild
|
|
}
|