summaryrefslogtreecommitdiffhomepage
path: root/tunnel/src
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2023-05-24 23:11:08 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2023-08-19 00:30:43 +0200
commit4de219e116c94179c9a8df3624114adc9712eebe (patch)
tree1f9a05453636e5b44784d19e5f696ef3c7af84cd /tunnel/src
parent8f3fc9d25345704f22d43ca8e40b4cda12096fa8 (diff)
tunnel: add Error in libwg.proto
Diffstat (limited to 'tunnel/src')
-rw-r--r--tunnel/src/main/proto/libwg.proto11
1 files changed, 11 insertions, 0 deletions
diff --git a/tunnel/src/main/proto/libwg.proto b/tunnel/src/main/proto/libwg.proto
index 2d964897..4c741b15 100644
--- a/tunnel/src/main/proto/libwg.proto
+++ b/tunnel/src/main/proto/libwg.proto
@@ -13,6 +13,17 @@ service Libwg {
rpc Version(VersionRequest) returns (VersionResponse);
}
+message Error {
+ enum Code {
+ NO_ERROR = 0;
+ UNSPECIFIED = 1;
+ INVALID_PROTOCOL_BUFFER = 2;
+ INVALID_RESPONSE = 3;
+ }
+ Code code = 1;
+ string message = 2;
+}
+
message StopGrpcRequest {
}