mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-06 10:05:58 +08:00
Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
# Conflicts: # pkg/common/config/config.go # pkg/discoveryregistry/discovery_register.go
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "OpenIM/pkg/proto/third;third";
|
||||
package third;
|
||||
|
||||
|
||||
message ApplySpaceReq {
|
||||
string name = 1; // 文件名字
|
||||
int64 size = 2; // 大小
|
||||
string hash = 3; // md5
|
||||
uint32 purpose = 4; // 用途
|
||||
string contentType = 5;
|
||||
}
|
||||
|
||||
message ApplySpaceResp {
|
||||
string url = 1; // 不为空表示已存在
|
||||
int64 size = 2; // 分片大小
|
||||
repeated string put = 3;// put地址
|
||||
string confirmID = 4; // 确认ID
|
||||
}
|
||||
|
||||
message ConfirmSpaceReq {
|
||||
string confirmID = 1; // 确认ID
|
||||
}
|
||||
|
||||
message ConfirmSpaceResp {
|
||||
string confirmID = 1;
|
||||
}
|
||||
|
||||
service third {
|
||||
rpc ApplySpaceReq(ApplySpaceReq) returns(ApplySpaceResp);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user