forked from Venus-Framework/pigeon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of code.dianpingoa.com:arch/pigeon
- Loading branch information
Showing
8 changed files
with
4,656 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
syntax = "proto3"; | ||
option java_package = "com.dianping.pigeon.remoting.common.codec.protobuf"; | ||
import "google/protobuf/any.proto"; | ||
|
||
message Pb3Request { | ||
int32 serialize = 1; // 没有找到byte类型,用int代替 | ||
int64 seq = 2; | ||
int32 messageType = 3; | ||
int32 timeout = 4; | ||
string serviceName = 5; | ||
string methodName = 6; | ||
repeated google.protobuf.Any parameters = 7; | ||
int32 callType = 8; | ||
string version = 9; | ||
string app = 10; | ||
map<string, string> globalValues = 11; | ||
map<string, string> requestValues = 12; | ||
} | ||
|
||
message Pb3Response { | ||
int32 serialize = 1; // 没有找到byte类型,用int代替 | ||
int64 seq = 2; | ||
int32 messageType = 3; | ||
string cause = 4; | ||
google.protobuf.Any returnVal = 5; | ||
map<string, string> responseValues = 6; | ||
Pb3Exception exception = 7; | ||
} | ||
|
||
message Pb3Exception { | ||
string cause = 1; | ||
string detailMessage = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.