Documentation ¶
Index ¶
- Variables
- type BlockReadRequest
- func (*BlockReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlockReadRequest) GetAddress() string
- func (x *BlockReadRequest) GetOffset() uint64
- func (x *BlockReadRequest) GetSize() uint64
- func (*BlockReadRequest) ProtoMessage()
- func (x *BlockReadRequest) ProtoReflect() protoreflect.Message
- func (x *BlockReadRequest) Reset()
- func (x *BlockReadRequest) String() string
- type BlockReadResponse
- func (*BlockReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BlockReadResponse) GetData() []byte
- func (x *BlockReadResponse) GetMsg() string
- func (*BlockReadResponse) ProtoMessage()
- func (x *BlockReadResponse) ProtoReflect() protoreflect.Message
- func (x *BlockReadResponse) Reset()
- func (x *BlockReadResponse) String() string
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetError() string
- func (x *Header) GetSeq() uint64
- func (x *Header) GetServiceMethod() string
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_rpc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BlockReadRequest ¶
type BlockReadRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*BlockReadRequest) Descriptor
deprecated
func (*BlockReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockReadRequest.ProtoReflect.Descriptor instead.
func (*BlockReadRequest) GetAddress ¶
func (x *BlockReadRequest) GetAddress() string
func (*BlockReadRequest) GetOffset ¶
func (x *BlockReadRequest) GetOffset() uint64
func (*BlockReadRequest) GetSize ¶
func (x *BlockReadRequest) GetSize() uint64
func (*BlockReadRequest) ProtoMessage ¶
func (*BlockReadRequest) ProtoMessage()
func (*BlockReadRequest) ProtoReflect ¶
func (x *BlockReadRequest) ProtoReflect() protoreflect.Message
func (*BlockReadRequest) Reset ¶
func (x *BlockReadRequest) Reset()
func (*BlockReadRequest) String ¶
func (x *BlockReadRequest) String() string
type BlockReadResponse ¶
type BlockReadResponse struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BlockReadResponse) Descriptor
deprecated
func (*BlockReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use BlockReadResponse.ProtoReflect.Descriptor instead.
func (*BlockReadResponse) GetData ¶
func (x *BlockReadResponse) GetData() []byte
func (*BlockReadResponse) GetMsg ¶
func (x *BlockReadResponse) GetMsg() string
func (*BlockReadResponse) ProtoMessage ¶
func (*BlockReadResponse) ProtoMessage()
func (*BlockReadResponse) ProtoReflect ¶
func (x *BlockReadResponse) ProtoReflect() protoreflect.Message
func (*BlockReadResponse) Reset ¶
func (x *BlockReadResponse) Reset()
func (*BlockReadResponse) String ¶
func (x *BlockReadResponse) String() string
type Header ¶
type Header struct { ServiceMethod string `protobuf:"bytes,1,opt,name=serviceMethod,proto3" json:"serviceMethod,omitempty"` Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*Header) Descriptor
deprecated
func (*Header) GetServiceMethod ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.