[#1523] local_object_storage: Unify parameters for the Exists operation

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-07-06 15:10:21 +03:00 committed by fyrchik
parent d75d030a90
commit ca15083a50
6 changed files with 51 additions and 59 deletions

View file

@ -0,0 +1,13 @@
package common
import oid "github.com/nspcc-dev/neofs-sdk-go/object/id"
// ExistsPrm groups the parameters of Exists operation.
type ExistsPrm struct {
Address oid.Address
}
// ExistsRes groups the resulting values of Exists operation.
type ExistsRes struct {
Exists bool
}