feat:#36 updated feed service with more protobuf endpoints

This commit is contained in:
Elmar Kresse
2024-06-18 23:46:23 +02:00
parent 4792b07e8c
commit acc048a80a
10 changed files with 197 additions and 69 deletions

View File

@@ -0,0 +1,23 @@
syntax = "proto3";
option go_package = "htwkalender/common/modules";
service FeedService {
rpc GetFeed(GetFeedRequest) returns (GetFeedResponse) {}
}
message Feed {
string id = 1;
string modules = 2;
string retrieved = 3;
string created = 4;
string updated = 5;
}
message GetFeedRequest {
string id = 1;
}
message GetFeedResponse {
Feed feed = 1;
}