Documentation ¶
Index ¶
- Variables
- type RpcRequest
- func (*RpcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RpcRequest) GetHeaders() map[string]string
- func (x *RpcRequest) GetMethodName() string
- func (x *RpcRequest) GetParameters() *anypb.Any
- func (x *RpcRequest) GetSeq() int64
- func (x *RpcRequest) GetServiceName() string
- func (*RpcRequest) ProtoMessage()
- func (x *RpcRequest) ProtoReflect() protoreflect.Message
- func (x *RpcRequest) Reset()
- func (x *RpcRequest) String() string
- type RpcResponse
- func (*RpcResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RpcResponse) GetErrorMsg() string
- func (x *RpcResponse) GetHeaders() map[string]string
- func (x *RpcResponse) GetResult() *anypb.Any
- func (x *RpcResponse) GetSeq() int64
- func (x *RpcResponse) GetStatus() string
- func (*RpcResponse) ProtoMessage()
- func (x *RpcResponse) ProtoReflect() protoreflect.Message
- func (x *RpcResponse) Reset()
- func (x *RpcResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_req_proto protoreflect.FileDescriptor
View Source
var File_resp_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RpcRequest ¶
type RpcRequest struct { ServiceName string `protobuf:"bytes,1,opt,name=ServiceName,proto3" json:"ServiceName,omitempty"` MethodName string `protobuf:"bytes,2,opt,name=MethodName,proto3" json:"MethodName,omitempty"` Parameters *anypb.Any `protobuf:"bytes,3,opt,name=Parameters,proto3" json:"Parameters,omitempty"` Headers map[string]string `` /* 155-byte string literal not displayed */ Seq int64 `protobuf:"varint,5,opt,name=Seq,proto3" json:"Seq,omitempty"` // contains filtered or unexported fields }
func (*RpcRequest) Descriptor
deprecated
func (*RpcRequest) Descriptor() ([]byte, []int)
Deprecated: Use RpcRequest.ProtoReflect.Descriptor instead.
func (*RpcRequest) GetHeaders ¶
func (x *RpcRequest) GetHeaders() map[string]string
func (*RpcRequest) GetMethodName ¶
func (x *RpcRequest) GetMethodName() string
func (*RpcRequest) GetParameters ¶
func (x *RpcRequest) GetParameters() *anypb.Any
func (*RpcRequest) GetSeq ¶
func (x *RpcRequest) GetSeq() int64
func (*RpcRequest) GetServiceName ¶
func (x *RpcRequest) GetServiceName() string
func (*RpcRequest) ProtoMessage ¶
func (*RpcRequest) ProtoMessage()
func (*RpcRequest) ProtoReflect ¶
func (x *RpcRequest) ProtoReflect() protoreflect.Message
func (*RpcRequest) Reset ¶
func (x *RpcRequest) Reset()
func (*RpcRequest) String ¶
func (x *RpcRequest) String() string
type RpcResponse ¶
type RpcResponse struct { Status string `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"` Headers map[string]string `` /* 155-byte string literal not displayed */ Result *anypb.Any `protobuf:"bytes,3,opt,name=Result,proto3" json:"Result,omitempty"` ErrorMsg string `protobuf:"bytes,4,opt,name=ErrorMsg,proto3" json:"ErrorMsg,omitempty"` Seq int64 `protobuf:"varint,5,opt,name=Seq,proto3" json:"Seq,omitempty"` // contains filtered or unexported fields }
func (*RpcResponse) Descriptor
deprecated
func (*RpcResponse) Descriptor() ([]byte, []int)
Deprecated: Use RpcResponse.ProtoReflect.Descriptor instead.
func (*RpcResponse) GetErrorMsg ¶
func (x *RpcResponse) GetErrorMsg() string
func (*RpcResponse) GetHeaders ¶
func (x *RpcResponse) GetHeaders() map[string]string
func (*RpcResponse) GetResult ¶
func (x *RpcResponse) GetResult() *anypb.Any
func (*RpcResponse) GetSeq ¶
func (x *RpcResponse) GetSeq() int64
func (*RpcResponse) GetStatus ¶
func (x *RpcResponse) GetStatus() string
func (*RpcResponse) ProtoMessage ¶
func (*RpcResponse) ProtoMessage()
func (*RpcResponse) ProtoReflect ¶
func (x *RpcResponse) ProtoReflect() protoreflect.Message
func (*RpcResponse) Reset ¶
func (x *RpcResponse) Reset()
func (*RpcResponse) String ¶
func (x *RpcResponse) String() string
Click to show internal directories.
Click to hide internal directories.