优化原始rpc,采用register方式

This commit is contained in:
boyce
2020-12-21 16:34:06 +08:00
parent ce2a14fa83
commit 4b67c59b1e
10 changed files with 294 additions and 194 deletions

View File

@@ -2,10 +2,11 @@ syntax = "proto3";
package rpc;
option go_package =".;rpc";
message PBRpcRequestData{
uint64 Seq = 1;
string ServiceMethod = 2;
bool NoReply = 3;
bytes InParam = 4;
uint64 Seq = 1;
uint32 RpcMethodId = 2;
string ServiceMethod = 3;
bool NoReply = 4;
bytes InParam = 5;
}
message PBRpcResponseData{