overflow db proxy grpc proto

This commit is contained in:
insanity@loafle.com 2017-05-25 19:08:39 +09:00
parent 09a0fe7da0
commit 7860b079b4
2 changed files with 5 additions and 2 deletions

View File

@ -1 +1,2 @@
protoc -I grpc/ grpc/grpc.proto --go_out=plugins=grpc:grpc protoc -I grpc/ grpc/grpc.proto --go_out=plugins=grpc:build/golang
protoc -I grpc/ grpc/grpc.proto --java_out=build/java

View File

@ -1,5 +1,7 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "com.loafle.overflow.db.api";
message DBInput { message DBInput {
string targetDao = 1; string targetDao = 1;
string method = 2; string method = 2;
@ -7,7 +9,7 @@ message DBInput {
} }
message DBOutput { message DBOutput {
map<string, string> result = 1; string result = 1;
} }
service DB { service DB {