mirror of
https://github.com/duanhf2012/origin.git
synced 2026-05-19 15:47:31 +08:00
RPC数据传输优化
This commit is contained in:
17
rpc/gogorpc.proto
Normal file
17
rpc/gogorpc.proto
Normal file
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
package rpc;
|
||||
option go_package = "./rpc";
|
||||
|
||||
message GoGoPBRpcRequestData{
|
||||
uint64 Seq = 1;
|
||||
uint32 RpcMethodId = 2;
|
||||
string ServiceMethod = 3;
|
||||
bool NoReply = 4;
|
||||
bytes InParam = 5;
|
||||
}
|
||||
|
||||
message GoGoPBRpcResponseData{
|
||||
uint64 Seq = 1;
|
||||
string Error = 2;
|
||||
bytes Reply = 3;
|
||||
}
|
||||
Reference in New Issue
Block a user