mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-23 15:51:24 +00:00
Add blog service & follow model changes in tags/posts (#22)
This commit is contained in:
15
blog/proto/blog.proto
Normal file
15
blog/proto/blog.proto
Normal file
@@ -0,0 +1,15 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package blog;
|
||||
|
||||
import "github.com/micro/services/blog/posts/proto/posts.proto";
|
||||
|
||||
service Blog {
|
||||
rpc Latest(LatestRequest) returns (LatestResponse) {}
|
||||
}
|
||||
|
||||
message LatestRequest {}
|
||||
|
||||
message LatestResponse{
|
||||
posts.Post latest = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user