Documentation ¶
Index ¶
- type ChunkInfo
- func (*ChunkInfo) Descriptor() ([]byte, []int)
- func (m *ChunkInfo) GetNextExtensions() []byte
- func (m *ChunkInfo) GetNumChunks() uint32
- func (m *ChunkInfo) GetOpNum() uint64
- func (m *ChunkInfo) GetSequenceNum() uint32
- func (*ChunkInfo) ProtoMessage()
- func (m *ChunkInfo) Reset()
- func (m *ChunkInfo) String() string
- func (m *ChunkInfo) XXX_DiscardUnknown()
- func (m *ChunkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChunkInfo) XXX_Merge(src proto.Message)
- func (m *ChunkInfo) XXX_Size() int
- func (m *ChunkInfo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChunkInfo ¶
type ChunkInfo struct { // OpNum is the ID of the op, used to ensure values are applied to the // right operation OpNum uint64 `protobuf:"varint,1,opt,name=op_num,json=opNum,proto3" json:"op_num,omitempty"` // SequenceNum is the current number of the ops; when applying we should // see this start at zero and increment by one without skips SequenceNum uint32 `protobuf:"varint,2,opt,name=sequence_num,json=sequenceNum,proto3" json:"sequence_num,omitempty"` // NumChunks is used to check whether all chunks have been received and // reconstruction should be attempted NumChunks uint32 `protobuf:"varint,3,opt,name=num_chunks,json=numChunks,proto3" json:"num_chunks,omitempty"` // NextExtensions holds inner extensions information for the next layer // down of Apply NextExtensions []byte `protobuf:"bytes,4,opt,name=next_extensions,json=nextExtensions,proto3" json:"next_extensions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChunkInfo) Descriptor ¶
func (*ChunkInfo) GetNextExtensions ¶
func (*ChunkInfo) GetNumChunks ¶
func (*ChunkInfo) GetSequenceNum ¶
func (*ChunkInfo) ProtoMessage ¶
func (*ChunkInfo) ProtoMessage()
func (*ChunkInfo) XXX_DiscardUnknown ¶
func (m *ChunkInfo) XXX_DiscardUnknown()
func (*ChunkInfo) XXX_Marshal ¶
func (*ChunkInfo) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.