Documentation ¶
Index ¶
- Variables
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (m *Data) GetDataId() []byte
- func (m *Data) GetDataProof() *pb.Proof
- func (m *Data) GetDataShares() [][]byte
- func (m *Data) Marshal() (dAtA []byte, err error)
- func (m *Data) MarshalTo(dAtA []byte) (int, error)
- func (m *Data) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) Size() (n int)
- func (m *Data) String() string
- func (m *Data) Unmarshal(dAtA []byte) error
- func (m *Data) XXX_DiscardUnknown()
- func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Data) XXX_Merge(src proto.Message)
- func (m *Data) XXX_Size() int
- func (m *Data) XXX_Unmarshal(b []byte) error
- type Row
- func (*Row) Descriptor() ([]byte, []int)
- func (m *Row) GetRowHalf() [][]byte
- func (m *Row) GetRowId() []byte
- func (m *Row) Marshal() (dAtA []byte, err error)
- func (m *Row) MarshalTo(dAtA []byte) (int, error)
- func (m *Row) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Row) ProtoMessage()
- func (m *Row) Reset()
- func (m *Row) Size() (n int)
- func (m *Row) String() string
- func (m *Row) Unmarshal(dAtA []byte) error
- func (m *Row) XXX_DiscardUnknown()
- func (m *Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Row) XXX_Merge(src proto.Message)
- func (m *Row) XXX_Size() int
- func (m *Row) XXX_Unmarshal(b []byte) error
- type Sample
- func (*Sample) Descriptor() ([]byte, []int)
- func (m *Sample) GetSampleId() []byte
- func (m *Sample) GetSampleProof() *pb.Proof
- func (m *Sample) GetSampleShare() []byte
- func (m *Sample) GetSampleType() SampleProofType
- func (m *Sample) Marshal() (dAtA []byte, err error)
- func (m *Sample) MarshalTo(dAtA []byte) (int, error)
- func (m *Sample) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Sample) ProtoMessage()
- func (m *Sample) Reset()
- func (m *Sample) Size() (n int)
- func (m *Sample) String() string
- func (m *Sample) Unmarshal(dAtA []byte) error
- func (m *Sample) XXX_DiscardUnknown()
- func (m *Sample) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sample) XXX_Merge(src proto.Message)
- func (m *Sample) XXX_Size() int
- func (m *Sample) XXX_Unmarshal(b []byte) error
- type SampleProofType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthShwapPb = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowShwapPb = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupShwapPb = fmt.Errorf("proto: unexpected end of group") )
View Source
var SampleProofType_name = map[int32]string{
0: "RowSampleProofType",
1: "ColSampleProofType",
}
View Source
var SampleProofType_value = map[string]int32{
"RowSampleProofType": 0,
"ColSampleProofType": 1,
}
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { DataId []byte `protobuf:"bytes,1,opt,name=data_id,json=dataId,proto3" json:"data_id,omitempty"` DataProof *pb.Proof `protobuf:"bytes,3,opt,name=data_proof,json=dataProof,proto3" json:"data_proof,omitempty"` }
func (*Data) Descriptor ¶
func (*Data) GetDataProof ¶
func (*Data) GetDataShares ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) XXX_DiscardUnknown ¶
func (m *Data) XXX_DiscardUnknown()
func (*Data) XXX_Unmarshal ¶
type Row ¶
type Row struct { RowId []byte `protobuf:"bytes,1,opt,name=row_id,json=rowId,proto3" json:"row_id,omitempty"` RowHalf [][]byte `protobuf:"bytes,2,rep,name=row_half,json=rowHalf,proto3" json:"row_half,omitempty"` }
func (*Row) Descriptor ¶
func (*Row) GetRowHalf ¶
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) XXX_DiscardUnknown ¶
func (m *Row) XXX_DiscardUnknown()
func (*Row) XXX_Unmarshal ¶
type Sample ¶
type Sample struct { SampleId []byte `protobuf:"bytes,1,opt,name=sample_id,json=sampleId,proto3" json:"sample_id,omitempty"` SampleType SampleProofType `protobuf:"varint,2,opt,name=sample_type,json=sampleType,proto3,enum=SampleProofType" json:"sample_type,omitempty"` SampleProof *pb.Proof `protobuf:"bytes,4,opt,name=sample_proof,json=sampleProof,proto3" json:"sample_proof,omitempty"` }
func (*Sample) Descriptor ¶
func (*Sample) GetSampleId ¶
func (*Sample) GetSampleProof ¶
func (*Sample) GetSampleShare ¶
func (*Sample) GetSampleType ¶
func (m *Sample) GetSampleType() SampleProofType
func (*Sample) MarshalToSizedBuffer ¶
func (*Sample) ProtoMessage ¶
func (*Sample) ProtoMessage()
func (*Sample) XXX_DiscardUnknown ¶
func (m *Sample) XXX_DiscardUnknown()
func (*Sample) XXX_Marshal ¶
func (*Sample) XXX_Unmarshal ¶
type SampleProofType ¶
type SampleProofType int32
const ( SampleProofType_RowSampleProofType SampleProofType = 0 SampleProofType_ColSampleProofType SampleProofType = 1 )
func (SampleProofType) EnumDescriptor ¶
func (SampleProofType) EnumDescriptor() ([]byte, []int)
func (SampleProofType) String ¶
func (x SampleProofType) String() string
Click to show internal directories.
Click to hide internal directories.