[#1502] core: Add AddressWithType

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-11-12 15:59:49 +03:00 committed by fyrchik
parent 84f545dacc
commit 114018a7bd

View file

@ -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
}