添加项目文件。

This commit is contained in:
2026-05-09 17:06:30 +08:00
parent c60f5fe117
commit 720ef957d4
378 changed files with 14843 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
syntax = "proto3";
// 指定生成的 C# 命名空间
option csharp_namespace = "IM.Protocols.Grpc.Contact";
package contact;
// 定义服务
service ContactInternal {
//检查好友关系
rpc CheckFriendship (CheckFriendshipRequest) returns (CheckFriendshipResponse);
}
// 请求参数
message CheckFriendshipRequest {
string owner_id = 1;
string target_id = 2;
}
// 响应参数
message CheckFriendshipResponse {
bool checked = 1;
}