19 lines
261 B
Protocol Buffer
19 lines
261 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
service Lobby {
|
||
|
rpc GetFeed(GetFeedRequest) returns (GetFeedResponse) {}
|
||
|
}
|
||
|
|
||
|
message GetFeedRequest {
|
||
|
enum FeedType {
|
||
|
RSS = 0;
|
||
|
ATOM = 1;
|
||
|
JSON = 2;
|
||
|
}
|
||
|
FeedType feedType = 1;
|
||
|
}
|
||
|
|
||
|
message GetFeedResponse {
|
||
|
string data = 1;
|
||
|
}
|