mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-22 23:35:26 +00:00
One
This commit is contained in:
17
blog/comments/proto/comments.proto
Normal file
17
blog/comments/proto/comments.proto
Normal file
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package comments;
|
||||
|
||||
service Comments {
|
||||
rpc Save(Request) returns (Response) {}
|
||||
}
|
||||
|
||||
message Request {
|
||||
// post to comment on
|
||||
string post_id = 1;
|
||||
// message to leave
|
||||
string message = 2;
|
||||
|
||||
}
|
||||
|
||||
message Response {}
|
||||
Reference in New Issue
Block a user