Documentation
¶
Index ¶
- Variables
- type TestData
- func (*TestData) Descriptor() ([]byte, []int)
- func (this *TestData) Equal(that interface{}) bool
- func (m *TestData) GetHash() []byte
- func (m *TestData) GetHashes() [][]byte
- func (m *TestData) GetMessage() string
- func (m *TestData) GetNonce() uint64
- func (m *TestData) GetShardID() uint32
- func (this *TestData) GoString() string
- func (m *TestData) Marshal() (dAtA []byte, err error)
- func (m *TestData) MarshalTo(dAtA []byte) (int, error)
- func (m *TestData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TestData) ProtoMessage()
- func (m *TestData) Reset()
- func (m *TestData) Size() (n int)
- func (this *TestData) String() string
- func (m *TestData) Unmarshal(dAtA []byte) error
- func (m *TestData) XXX_DiscardUnknown()
- func (m *TestData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestData) XXX_Merge(src proto.Message)
- func (m *TestData) XXX_Size() int
- func (m *TestData) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type TestData ¶
type TestData struct { Hash []byte `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"` ShardID uint32 `protobuf:"varint,2,opt,name=ShardID,proto3" json:"ShardID,omitempty"` Nonce uint64 `protobuf:"varint,3,opt,name=Nonce,proto3" json:"Nonce,omitempty"` Hashes [][]byte `protobuf:"bytes,4,rep,name=Hashes,proto3" json:"Hashes,omitempty"` Message string `protobuf:"bytes,5,opt,name=Message,proto3" json:"Message,omitempty"` }
func (*TestData) Descriptor ¶
func (*TestData) GetMessage ¶
func (*TestData) GetShardID ¶
func (*TestData) MarshalToSizedBuffer ¶
func (*TestData) ProtoMessage ¶
func (*TestData) ProtoMessage()
func (*TestData) XXX_DiscardUnknown ¶
func (m *TestData) XXX_DiscardUnknown()
func (*TestData) XXX_Marshal ¶
func (*TestData) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.