[#220] blobstor: Implement "small" operations

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-30 19:16:20 +03:00 committed by Alex Vanin
parent 7f20e6f9db
commit 7512a5ba18
3 changed files with 4 additions and 8 deletions

View file

@ -1,9 +1,5 @@
package blobstor
import (
"github.com/pkg/errors"
)
// GetSmallPrm groups the parameters of GetSmallPrm operation.
type GetSmallPrm struct {
address
@ -23,5 +19,5 @@ type GetSmallRes struct {
// Returns any error encountered that
// did not allow to completely read the object.
func (b *BlobStor) GetSmall(prm *GetSmallPrm) (*GetSmallRes, error) {
return nil, errors.New("method GetSmall is not implemented yet")
return b.blobovniczas.get(prm)
}