Documentation ¶
Index ¶
- Variables
- type FileHeader
- func (*FileHeader) Descriptor() ([]byte, []int)deprecated
- func (x *FileHeader) GetBlockStoreSize() uint64
- func (x *FileHeader) GetCompressor() string
- func (x *FileHeader) GetStart() uint64
- func (x *FileHeader) GetVersion() string
- func (*FileHeader) ProtoMessage()
- func (x *FileHeader) ProtoReflect() protoreflect.Message
- func (x *FileHeader) Reset()
- func (x *FileHeader) String() string
- type FileTip
Constants ¶
This section is empty.
Variables ¶
View Source
var File_header_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FileHeader ¶
type FileHeader struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Compressor string `protobuf:"bytes,2,opt,name=compressor,proto3" json:"compressor,omitempty"` BlockStoreSize uint64 `protobuf:"varint,3,opt,name=blockStoreSize,proto3" json:"blockStoreSize,omitempty"` Start uint64 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty"` // contains filtered or unexported fields }
func (*FileHeader) Descriptor
deprecated
func (*FileHeader) Descriptor() ([]byte, []int)
Deprecated: Use FileHeader.ProtoReflect.Descriptor instead.
func (*FileHeader) GetBlockStoreSize ¶
func (x *FileHeader) GetBlockStoreSize() uint64
func (*FileHeader) GetCompressor ¶
func (x *FileHeader) GetCompressor() string
func (*FileHeader) GetStart ¶
func (x *FileHeader) GetStart() uint64
func (*FileHeader) GetVersion ¶
func (x *FileHeader) GetVersion() string
func (*FileHeader) ProtoMessage ¶
func (*FileHeader) ProtoMessage()
func (*FileHeader) ProtoReflect ¶
func (x *FileHeader) ProtoReflect() protoreflect.Message
func (*FileHeader) Reset ¶
func (x *FileHeader) Reset()
func (*FileHeader) String ¶
func (x *FileHeader) String() string
type FileTip ¶
type FileTip struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*FileTip) Descriptor
deprecated
func (*FileTip) ProtoMessage ¶
func (*FileTip) ProtoMessage()
func (*FileTip) ProtoReflect ¶
func (x *FileTip) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.