From 114018a7bd9e5abee58f4fc911b2763cf8592ba4 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Sat, 12 Nov 2022 15:59:49 +0300 Subject: [PATCH] [#1502] core: Add `AddressWithType` Signed-off-by: Pavel Karpy --- pkg/core/object/address.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pkg/core/object/address.go diff --git a/pkg/core/object/address.go b/pkg/core/object/address.go new file mode 100644 index 0000000000..a91082874e --- /dev/null +++ b/pkg/core/object/address.go @@ -0,0 +1,13 @@ +package object + +import ( + "github.com/nspcc-dev/neofs-sdk-go/object" + oid "github.com/nspcc-dev/neofs-sdk-go/object/id" +) + +// AddressWithType groups object address with its NeoFS +// object type. +type AddressWithType struct { + Address oid.Address + Type object.Type +}