[#222] Support Inhume and Delete in object service

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-12-01 14:23:28 +03:00
parent 21708d5408
commit 351e4b4592
5 changed files with 46 additions and 20 deletions

View file

@ -35,8 +35,8 @@ type cfg struct {
// Remover is an interface of the component that stores objects.
type Remover interface {
// Delete removes (or marks to remove) object from physical storage.
Delete(*object.Address) error
// Delete removes object from physical storage.
Delete(...*object.Address) error
}
func defaultCfg() *cfg {