frostfs-node/pkg/local_object_storage/blobstor/common/exists.go
Evgenii Stratonikov 63f604e948 [#2068] blobstor: Allow to provide storage ID in Exists
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
2022-12-02 11:52:05 +03:00

14 lines
299 B
Go

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
StorageID []byte
}
// ExistsRes groups the resulting values of Exists operation.
type ExistsRes struct {
Exists bool
}