frostfs-node/pkg/services/object/head/res.go
Leonard Lyubich 05f3963975 [#38] service/object: Implement simplified object Head service
Implement Head service w/o linking object processing and restoration from
split-chain.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-02 11:25:35 +03:00

13 lines
187 B
Go

package headsvc
import (
"github.com/nspcc-dev/neofs-node/pkg/core/object"
)
type Response struct {
hdr *object.Object
}
func (r *Response) Header() *object.Object {
return r.hdr
}