Documentation ¶
Index ¶
- Variables
- type ChunkInfo
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetMethodName() string
- func (x *Request) GetServiceName() string
- func (x *Request) GetTraceId() string
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Response
- type RpcMeta
- func (*RpcMeta) Descriptor() ([]byte, []int)deprecated
- func (x *RpcMeta) GetAttachmentSize() int32
- func (x *RpcMeta) GetAuthenticationData() []byte
- func (x *RpcMeta) GetChunkInfo() *ChunkInfo
- func (x *RpcMeta) GetCompressType() int32
- func (x *RpcMeta) GetCorrelationId() int64
- func (x *RpcMeta) GetRequest() *Request
- func (x *RpcMeta) GetResponse() *Response
- func (*RpcMeta) ProtoMessage()
- func (x *RpcMeta) ProtoReflect() protoreflect.Message
- func (x *RpcMeta) Reset()
- func (x *RpcMeta) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_meta_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ChunkInfo ¶
type ChunkInfo struct { StreamId int64 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` ChunkId int64 `protobuf:"varint,2,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"` // contains filtered or unexported fields }
func (*ChunkInfo) Descriptor
deprecated
func (*ChunkInfo) GetChunkId ¶
func (*ChunkInfo) GetStreamId ¶
func (*ChunkInfo) ProtoMessage ¶
func (*ChunkInfo) ProtoMessage()
func (*ChunkInfo) ProtoReflect ¶
func (x *ChunkInfo) ProtoReflect() protoreflect.Message
type Request ¶
type Request struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` MethodName string `protobuf:"bytes,2,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"` TraceId string `protobuf:"bytes,3,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) GetMethodName ¶
func (*Request) GetServiceName ¶
func (*Request) GetTraceId ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { ErrorCode *int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,oneof" json:"error_code,omitempty"` ErrorMsg *string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3,oneof" json:"error_msg,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetErrorCode ¶
func (*Response) GetErrorMsg ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type RpcMeta ¶
type RpcMeta struct { Request *Request `protobuf:"bytes,1,opt,name=request,proto3,oneof" json:"request,omitempty"` Response *Response `protobuf:"bytes,2,opt,name=response,proto3,oneof" json:"response,omitempty"` CompressType *int32 `protobuf:"varint,3,opt,name=compress_type,json=compressType,proto3,oneof" json:"compress_type,omitempty"` CorrelationId *int64 `protobuf:"varint,4,opt,name=correlation_id,json=correlationId,proto3,oneof" json:"correlation_id,omitempty"` AttachmentSize *int32 `protobuf:"varint,5,opt,name=attachment_size,json=attachmentSize,proto3,oneof" json:"attachment_size,omitempty"` ChunkInfo *ChunkInfo `protobuf:"bytes,6,opt,name=chunk_info,json=chunkInfo,proto3,oneof" json:"chunk_info,omitempty"` AuthenticationData []byte `protobuf:"bytes,7,opt,name=authentication_data,json=authenticationData,proto3,oneof" json:"authentication_data,omitempty"` // contains filtered or unexported fields }
func (*RpcMeta) Descriptor
deprecated
func (*RpcMeta) GetAttachmentSize ¶
func (*RpcMeta) GetAuthenticationData ¶
func (*RpcMeta) GetChunkInfo ¶
func (*RpcMeta) GetCompressType ¶
func (*RpcMeta) GetCorrelationId ¶
func (*RpcMeta) GetRequest ¶
func (*RpcMeta) GetResponse ¶
func (*RpcMeta) ProtoMessage ¶
func (*RpcMeta) ProtoMessage()
func (*RpcMeta) ProtoReflect ¶
func (x *RpcMeta) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.