mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-16 09:24:47 +08:00
优化原始rpc,采用register方式
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user