aboutsummaryrefslogtreecommitdiffstats
path: root/protobuf
diff options
context:
space:
mode:
authorFarzad Sadeghi <thabogre@gmail.com>2021-12-14 17:25:09 +0000
committerGitHub <noreply@github.com>2021-12-14 17:25:09 +0000
commit5290f1f5ef81e776ca59f08e7fbf58c02e647288 (patch)
treef07b88aab5f13975e327376f1e9e16f59cdf6144 /protobuf
parentadded a codacy badge (diff)
parentfixed the ip and address for the grpc server (diff)
downloadhived-5290f1f5ef81e776ca59f08e7fbf58c02e647288.tar.gz
hived-5290f1f5ef81e776ca59f08e7fbf58c02e647288.zip
Merge pull request #4 from terminaldweller/grpc
Grpc
Diffstat (limited to '')
-rw-r--r--protobuf/telegram.proto22
1 files changed, 0 insertions, 22 deletions
diff --git a/protobuf/telegram.proto b/protobuf/telegram.proto
deleted file mode 100644
index 8a7e6be..0000000
--- a/protobuf/telegram.proto
+++ /dev/null
@@ -1,22 +0,0 @@
-syntax= "proto3";
-package hived;
-
-import "google/protobuf/timestamp.proto";
-option go_package ="../protobuf";
-
-message NotificationRequest {
- reserved 4 to 7;
- string notificationText = 1;
- int64 channel_id = 2;
- google.protobuf.Timestamp request_time = 3;
-}
-
-message NotificationResponse {
- reserved 3 to 6;
- string error = 2;
- bool isOK = 1;
-}
-
-service NotificationService {
- rpc Notify(NotificationRequest) returns (NotificationResponse);
-}