headerpb

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use FileTip.ProtoReflect.Descriptor instead.

func (*FileTip) GetHash

func (x *FileTip) GetHash() []byte

func (*FileTip) GetHeight

func (x *FileTip) GetHeight() uint64

func (*FileTip) ProtoMessage

func (*FileTip) ProtoMessage()

func (*FileTip) ProtoReflect

func (x *FileTip) ProtoReflect() protoreflect.Message

func (*FileTip) Reset

func (x *FileTip) Reset()

func (*FileTip) String

func (x *FileTip) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL