refactor: reorganize modules and add Linux build tooling
This commit is contained in:
22
module/social/relation/proto/follow.proto
Normal file
22
module/social/relation/proto/follow.proto
Normal file
@@ -0,0 +1,22 @@
|
||||
syntax = "proto3";
|
||||
package relation;
|
||||
option go_package = ".;relation";
|
||||
import "blocks.proto";
|
||||
|
||||
// relation-关系管理:关注
|
||||
service Follow{
|
||||
// 执行关注
|
||||
rpc Doing(IdentRequest) returns (StatusReply) {}
|
||||
|
||||
// 撤销关注
|
||||
rpc Undo(IdentRequest) returns (StatusReply) {}
|
||||
|
||||
// 关注状态
|
||||
rpc State(IdentRequest) returns (StatusReply) {}
|
||||
|
||||
// 获取关注列表
|
||||
rpc Fetch(FetchRequest) returns (FetchRelationItemReply) {}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user