From 0c8c603662d84974bfc681509694c27df404e7bf Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Fri, 12 Nov 2021 18:38:26 +0330 Subject: restructuring WIP --- protobuf/telegram.proto | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 protobuf/telegram.proto (limited to 'protobuf') 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); -} -- cgit v1.2.3