feat: import services and standardize Go 1.26.5
This commit is contained in:
21
apps/social/feed/proto/timeline.proto
Normal file
21
apps/social/feed/proto/timeline.proto
Normal file
@@ -0,0 +1,21 @@
|
||||
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){};
|
||||
}
|
||||
Reference in New Issue
Block a user