Files
full/module/social/feed/proto/timeline.proto

22 lines
435 B
Protocol Buffer

syntax = "proto3";
package feed;
option go_package =".;feed";
import "blocks.proto";
// 实时动态
service Timeline{
// 推荐
rpc Recommend (FetchRequest) returns (PostListReply){};
// 好友动态
rpc Friend (FetchRequest) returns (PostListReply){};
// 关注的动态
rpc Follow (FetchRequest) returns (PostListReply){};
// 热门
rpc Hot (FetchRequest) returns (PostListReply){};
}