From 6fd2beda57c44d782b62cbd90920916840408c8e Mon Sep 17 00:00:00 2001 From: insanity Date: Thu, 25 May 2017 18:22:21 +0900 Subject: [PATCH] proto --- src/main/proto/grpc.proto | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/main/proto/grpc.proto diff --git a/src/main/proto/grpc.proto b/src/main/proto/grpc.proto new file mode 100644 index 0000000..eb5173f --- /dev/null +++ b/src/main/proto/grpc.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +option java_multiple_files = true; +option java_package = "com.loafle.overflow.db.api"; + +message DBInput { + string targetDao = 1; + string method = 2; + map params = 3; +} + +message DBOutput { + string result = 1; +} + +service DB { + rpc exec(DBInput) returns (DBOutput) {} +} +