Documentation ¶
Index ¶
- Variables
- type AxisType
- type Row
- func (*Row) Descriptor() ([]byte, []int)
- func (m *Row) GetHalfSide() Row_HalfSide
- func (m *Row) GetSharesHalf() []*Share
- 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 RowNamespaceData
- func (*RowNamespaceData) Descriptor() ([]byte, []int)
- func (m *RowNamespaceData) GetProof() *pb.Proof
- func (m *RowNamespaceData) GetShares() []*Share
- func (m *RowNamespaceData) Marshal() (dAtA []byte, err error)
- func (m *RowNamespaceData) MarshalTo(dAtA []byte) (int, error)
- func (m *RowNamespaceData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RowNamespaceData) ProtoMessage()
- func (m *RowNamespaceData) Reset()
- func (m *RowNamespaceData) Size() (n int)
- func (m *RowNamespaceData) String() string
- func (m *RowNamespaceData) Unmarshal(dAtA []byte) error
- func (m *RowNamespaceData) XXX_DiscardUnknown()
- func (m *RowNamespaceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RowNamespaceData) XXX_Merge(src proto.Message)
- func (m *RowNamespaceData) XXX_Size() int
- func (m *RowNamespaceData) XXX_Unmarshal(b []byte) error
- type Row_HalfSide
- type Sample
- func (*Sample) Descriptor() ([]byte, []int)
- func (m *Sample) GetProof() *pb.Proof
- func (m *Sample) GetProofType() AxisType
- func (m *Sample) GetShare() *Share
- 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 Share
- func (*Share) Descriptor() ([]byte, []int)
- func (m *Share) GetData() []byte
- func (m *Share) Marshal() (dAtA []byte, err error)
- func (m *Share) MarshalTo(dAtA []byte) (int, error)
- func (m *Share) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Share) ProtoMessage()
- func (m *Share) Reset()
- func (m *Share) Size() (n int)
- func (m *Share) String() string
- func (m *Share) Unmarshal(dAtA []byte) error
- func (m *Share) XXX_DiscardUnknown()
- func (m *Share) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Share) XXX_Merge(src proto.Message)
- func (m *Share) XXX_Size() int
- func (m *Share) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthShwap = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowShwap = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupShwap = fmt.Errorf("proto: unexpected end of group") )
View Source
var AxisType_name = map[int32]string{
0: "ROW",
1: "COL",
}
View Source
var AxisType_value = map[string]int32{
"ROW": 0,
"COL": 1,
}
View Source
var Row_HalfSide_name = map[int32]string{
0: "LEFT",
1: "RIGHT",
}
View Source
var Row_HalfSide_value = map[string]int32{
"LEFT": 0,
"RIGHT": 1,
}
Functions ¶
This section is empty.
Types ¶
type Row ¶
type Row struct { HalfSide Row_HalfSide `protobuf:"varint,2,opt,name=half_side,json=halfSide,proto3,enum=shwap.Row_HalfSide" json:"half_side,omitempty"` }
func (*Row) Descriptor ¶
func (*Row) GetHalfSide ¶
func (m *Row) GetHalfSide() Row_HalfSide
func (*Row) GetSharesHalf ¶
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) XXX_DiscardUnknown ¶
func (m *Row) XXX_DiscardUnknown()
func (*Row) XXX_Unmarshal ¶
type RowNamespaceData ¶
type RowNamespaceData struct { Proof *pb.Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` }
func (*RowNamespaceData) Descriptor ¶
func (*RowNamespaceData) Descriptor() ([]byte, []int)
func (*RowNamespaceData) GetProof ¶
func (m *RowNamespaceData) GetProof() *pb.Proof
func (*RowNamespaceData) GetShares ¶
func (m *RowNamespaceData) GetShares() []*Share
func (*RowNamespaceData) Marshal ¶
func (m *RowNamespaceData) Marshal() (dAtA []byte, err error)
func (*RowNamespaceData) MarshalToSizedBuffer ¶
func (m *RowNamespaceData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RowNamespaceData) ProtoMessage ¶
func (*RowNamespaceData) ProtoMessage()
func (*RowNamespaceData) Reset ¶
func (m *RowNamespaceData) Reset()
func (*RowNamespaceData) Size ¶
func (m *RowNamespaceData) Size() (n int)
func (*RowNamespaceData) String ¶
func (m *RowNamespaceData) String() string
func (*RowNamespaceData) Unmarshal ¶
func (m *RowNamespaceData) Unmarshal(dAtA []byte) error
func (*RowNamespaceData) XXX_DiscardUnknown ¶
func (m *RowNamespaceData) XXX_DiscardUnknown()
func (*RowNamespaceData) XXX_Marshal ¶
func (m *RowNamespaceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RowNamespaceData) XXX_Merge ¶
func (m *RowNamespaceData) XXX_Merge(src proto.Message)
func (*RowNamespaceData) XXX_Size ¶
func (m *RowNamespaceData) XXX_Size() int
func (*RowNamespaceData) XXX_Unmarshal ¶
func (m *RowNamespaceData) XXX_Unmarshal(b []byte) error
type Row_HalfSide ¶
type Row_HalfSide int32
const ( Row_LEFT Row_HalfSide = 0 Row_RIGHT Row_HalfSide = 1 )
func (Row_HalfSide) EnumDescriptor ¶
func (Row_HalfSide) EnumDescriptor() ([]byte, []int)
func (Row_HalfSide) String ¶
func (x Row_HalfSide) String() string
type Sample ¶
type Sample struct { Proof *pb.Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` ProofType AxisType `protobuf:"varint,3,opt,name=proof_type,json=proofType,proto3,enum=shwap.AxisType" json:"proof_type,omitempty"` }
func (*Sample) Descriptor ¶
func (*Sample) GetProofType ¶
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 Share ¶
type Share struct {
}func (*Share) Descriptor ¶
func (*Share) ProtoMessage ¶
func (*Share) ProtoMessage()
func (*Share) XXX_DiscardUnknown ¶
func (m *Share) XXX_DiscardUnknown()
func (*Share) XXX_Marshal ¶
func (*Share) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.