feat: import services and standardize Go 1.26.5
This commit is contained in:
22
apps/social/relation/proto/match.proto
Normal file
22
apps/social/relation/proto/match.proto
Normal file
@@ -0,0 +1,22 @@
|
||||
syntax = "proto3";
|
||||
package relation;
|
||||
option go_package = ".;relation";
|
||||
import "blocks.proto";
|
||||
|
||||
// relation-关系管理:匹配
|
||||
service Match{
|
||||
// 获取匹配列表
|
||||
rpc Fetch(FetchRequest) returns (FetchRelationItemReply) {}
|
||||
|
||||
// 获取匹配详情
|
||||
rpc Get(IdentRequest) returns (RelationItem) {}
|
||||
|
||||
// 执行通过,加为好友
|
||||
rpc DoJoin(IdentRequest) returns (StatusReply) {}
|
||||
|
||||
// 执行忽略
|
||||
rpc DoIgnore(IdentRequest) returns (StatusReply) {}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user