Add blog service & follow model changes in tags/posts (#22)

This commit is contained in:
Janos Dobronszki
2020-11-03 14:14:00 +01:00
committed by GitHub
parent 3642f7279d
commit b30adabfc3
20 changed files with 415 additions and 117 deletions

15
blog/proto/blog.proto Normal file
View 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;
}