yotiprotoshare

package
v2.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DataEntry_Type_name = map[int32]string{
	0: "UNDEFINED",
	1: "INVOICE",
	2: "PAYMENT_TRANSACTION",
	3: "LOCATION",
	4: "TRANSACTION",
	5: "AGE_VERIFICATION_SECRET",
	6: "THIRD_PARTY_ATTRIBUTE",
}
View Source
var DataEntry_Type_value = map[string]int32{
	"UNDEFINED":               0,
	"INVOICE":                 1,
	"PAYMENT_TRANSACTION":     2,
	"LOCATION":                3,
	"TRANSACTION":             4,
	"AGE_VERIFICATION_SECRET": 5,
	"THIRD_PARTY_ATTRIBUTE":   6,
}

Functions

This section is empty.

Types

type DataEntry

type DataEntry struct {
	Type                 DataEntry_Type `protobuf:"varint,1,opt,name=type,proto3,enum=sharepubapi_v1.DataEntry_Type" json:"type,omitempty"`
	Value                []byte         `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DataEntry) Descriptor

func (*DataEntry) Descriptor() ([]byte, []int)

func (*DataEntry) GetType

func (m *DataEntry) GetType() DataEntry_Type

func (*DataEntry) GetValue

func (m *DataEntry) GetValue() []byte

func (*DataEntry) ProtoMessage

func (*DataEntry) ProtoMessage()

func (*DataEntry) Reset

func (m *DataEntry) Reset()

func (*DataEntry) String

func (m *DataEntry) String() string

func (*DataEntry) XXX_DiscardUnknown

func (m *DataEntry) XXX_DiscardUnknown()

func (*DataEntry) XXX_Marshal

func (m *DataEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataEntry) XXX_Merge

func (m *DataEntry) XXX_Merge(src proto.Message)

func (*DataEntry) XXX_Size

func (m *DataEntry) XXX_Size() int

func (*DataEntry) XXX_Unmarshal

func (m *DataEntry) XXX_Unmarshal(b []byte) error

type DataEntry_Type

type DataEntry_Type int32
const (
	DataEntry_UNDEFINED               DataEntry_Type = 0
	DataEntry_INVOICE                 DataEntry_Type = 1
	DataEntry_PAYMENT_TRANSACTION     DataEntry_Type = 2
	DataEntry_LOCATION                DataEntry_Type = 3
	DataEntry_TRANSACTION             DataEntry_Type = 4
	DataEntry_AGE_VERIFICATION_SECRET DataEntry_Type = 5
	DataEntry_THIRD_PARTY_ATTRIBUTE   DataEntry_Type = 6
)

func (DataEntry_Type) EnumDescriptor

func (DataEntry_Type) EnumDescriptor() ([]byte, []int)

func (DataEntry_Type) String

func (x DataEntry_Type) String() string

type Definition

type Definition struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Definition) Descriptor

func (*Definition) Descriptor() ([]byte, []int)

func (*Definition) GetName

func (m *Definition) GetName() string

func (*Definition) ProtoMessage

func (*Definition) ProtoMessage()

func (*Definition) Reset

func (m *Definition) Reset()

func (*Definition) String

func (m *Definition) String() string

func (*Definition) XXX_DiscardUnknown

func (m *Definition) XXX_DiscardUnknown()

func (*Definition) XXX_Marshal

func (m *Definition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Definition) XXX_Merge

func (m *Definition) XXX_Merge(src proto.Message)

func (*Definition) XXX_Size

func (m *Definition) XXX_Size() int

func (*Definition) XXX_Unmarshal

func (m *Definition) XXX_Unmarshal(b []byte) error

type ExtraData

type ExtraData struct {
	List                 []*DataEntry `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ExtraData) Descriptor

func (*ExtraData) Descriptor() ([]byte, []int)

func (*ExtraData) GetList

func (m *ExtraData) GetList() []*DataEntry

func (*ExtraData) ProtoMessage

func (*ExtraData) ProtoMessage()

func (*ExtraData) Reset

func (m *ExtraData) Reset()

func (*ExtraData) String

func (m *ExtraData) String() string

func (*ExtraData) XXX_DiscardUnknown

func (m *ExtraData) XXX_DiscardUnknown()

func (*ExtraData) XXX_Marshal

func (m *ExtraData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExtraData) XXX_Merge

func (m *ExtraData) XXX_Merge(src proto.Message)

func (*ExtraData) XXX_Size

func (m *ExtraData) XXX_Size() int

func (*ExtraData) XXX_Unmarshal

func (m *ExtraData) XXX_Unmarshal(b []byte) error

type IssuingAttributes

type IssuingAttributes struct {
	ExpiryDate           string        `protobuf:"bytes,1,opt,name=expiry_date,json=expiryDate,proto3" json:"expiry_date,omitempty"`
	Definitions          []*Definition `protobuf:"bytes,2,rep,name=definitions,proto3" json:"definitions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*IssuingAttributes) Descriptor

func (*IssuingAttributes) Descriptor() ([]byte, []int)

func (*IssuingAttributes) GetDefinitions

func (m *IssuingAttributes) GetDefinitions() []*Definition

func (*IssuingAttributes) GetExpiryDate

func (m *IssuingAttributes) GetExpiryDate() string

func (*IssuingAttributes) ProtoMessage

func (*IssuingAttributes) ProtoMessage()

func (*IssuingAttributes) Reset

func (m *IssuingAttributes) Reset()

func (*IssuingAttributes) String

func (m *IssuingAttributes) String() string

func (*IssuingAttributes) XXX_DiscardUnknown

func (m *IssuingAttributes) XXX_DiscardUnknown()

func (*IssuingAttributes) XXX_Marshal

func (m *IssuingAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IssuingAttributes) XXX_Merge

func (m *IssuingAttributes) XXX_Merge(src proto.Message)

func (*IssuingAttributes) XXX_Size

func (m *IssuingAttributes) XXX_Size() int

func (*IssuingAttributes) XXX_Unmarshal

func (m *IssuingAttributes) XXX_Unmarshal(b []byte) error

type ThirdPartyAttribute

type ThirdPartyAttribute struct {
	IssuanceToken        []byte             `protobuf:"bytes,1,opt,name=issuance_token,json=issuanceToken,proto3" json:"issuance_token,omitempty"`
	IssuingAttributes    *IssuingAttributes `protobuf:"bytes,2,opt,name=issuing_attributes,json=issuingAttributes,proto3" json:"issuing_attributes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ThirdPartyAttribute) Descriptor

func (*ThirdPartyAttribute) Descriptor() ([]byte, []int)

func (*ThirdPartyAttribute) GetIssuanceToken

func (m *ThirdPartyAttribute) GetIssuanceToken() []byte

func (*ThirdPartyAttribute) GetIssuingAttributes

func (m *ThirdPartyAttribute) GetIssuingAttributes() *IssuingAttributes

func (*ThirdPartyAttribute) ProtoMessage

func (*ThirdPartyAttribute) ProtoMessage()

func (*ThirdPartyAttribute) Reset

func (m *ThirdPartyAttribute) Reset()

func (*ThirdPartyAttribute) String

func (m *ThirdPartyAttribute) String() string

func (*ThirdPartyAttribute) XXX_DiscardUnknown

func (m *ThirdPartyAttribute) XXX_DiscardUnknown()

func (*ThirdPartyAttribute) XXX_Marshal

func (m *ThirdPartyAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ThirdPartyAttribute) XXX_Merge

func (m *ThirdPartyAttribute) XXX_Merge(src proto.Message)

func (*ThirdPartyAttribute) XXX_Size

func (m *ThirdPartyAttribute) XXX_Size() int

func (*ThirdPartyAttribute) XXX_Unmarshal

func (m *ThirdPartyAttribute) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL