forked from Mrs4s/MiraiGo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shortvideo.pb.go
106 lines (94 loc) · 3.96 KB
/
shortvideo.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
// Code generated by protoc-gen-golite. DO NOT EDIT.
// source: pb/pttcenter/shortvideo.proto
package pttcenter
type ShortVideoReqBody struct {
Cmd int32 `protobuf:"varint,1,opt"`
Seq int32 `protobuf:"varint,2,opt"`
PttShortVideoUploadReq *ShortVideoUploadReq `protobuf:"bytes,3,opt"`
PttShortVideoDownloadReq *ShortVideoDownloadReq `protobuf:"bytes,4,opt"`
ExtensionReq []*ShortVideoExtensionReq `protobuf:"bytes,100,rep"`
}
type ShortVideoRspBody struct {
Cmd int32 `protobuf:"varint,1,opt"`
Seq int32 `protobuf:"varint,2,opt"`
PttShortVideoUploadRsp *ShortVideoUploadRsp `protobuf:"bytes,3,opt"`
PttShortVideoDownloadRsp *ShortVideoDownloadRsp `protobuf:"bytes,4,opt"`
_ [0]func()
}
type ShortVideoUploadReq struct {
FromUin int64 `protobuf:"varint,1,opt"`
ToUin int64 `protobuf:"varint,2,opt"`
ChatType int32 `protobuf:"varint,3,opt"`
ClientType int32 `protobuf:"varint,4,opt"`
Info *ShortVideoFileInfo `protobuf:"bytes,5,opt"`
GroupCode int64 `protobuf:"varint,6,opt"`
AgentType int32 `protobuf:"varint,7,opt"`
BusinessType int32 `protobuf:"varint,8,opt"`
SupportLargeSize int32 `protobuf:"varint,20,opt"`
_ [0]func()
}
type ShortVideoDownloadReq struct {
FromUin int64 `protobuf:"varint,1,opt"`
ToUin int64 `protobuf:"varint,2,opt"`
ChatType int32 `protobuf:"varint,3,opt"`
ClientType int32 `protobuf:"varint,4,opt"`
FileId string `protobuf:"bytes,5,opt"`
GroupCode int64 `protobuf:"varint,6,opt"`
AgentType int32 `protobuf:"varint,7,opt"`
FileMd5 []byte `protobuf:"bytes,8,opt"`
BusinessType int32 `protobuf:"varint,9,opt"`
FileType int32 `protobuf:"varint,10,opt"`
DownType int32 `protobuf:"varint,11,opt"`
SceneType int32 `protobuf:"varint,12,opt"`
}
type ShortVideoDownloadRsp struct {
RetCode int32 `protobuf:"varint,1,opt"`
RetMsg string `protobuf:"bytes,2,opt"`
// repeated ShortVideoIpList sameAreaOutAddr = 3;
// repeated ShortVideoIpList diffAreaOutAddr = 4;
DownloadKey []byte `protobuf:"bytes,5,opt"`
FileMd5 []byte `protobuf:"bytes,6,opt"`
// repeated ShortVideoIpList sameAreaInnerAddr = 7;
// repeated ShortVideoIpList diffAreaInnerAddr = 8;
DownloadAddr *ShortVideoAddr `protobuf:"bytes,9,opt"`
EncryptKey []byte `protobuf:"bytes,10,opt"`
}
type ShortVideoUploadRsp struct {
RetCode int32 `protobuf:"varint,1,opt"`
RetMsg string `protobuf:"bytes,2,opt"`
// repeated ShortVideoIpList sameAreaOutAddr = 3;
// repeated ShortVideoIpList diffAreaOutAddr = 4;
FileId string `protobuf:"bytes,5,opt"`
UKey []byte `protobuf:"bytes,6,opt"`
FileExists int32 `protobuf:"varint,7,opt"`
}
type ShortVideoFileInfo struct {
FileName string `protobuf:"bytes,1,opt"`
FileMd5 []byte `protobuf:"bytes,2,opt"`
ThumbFileMd5 []byte `protobuf:"bytes,3,opt"`
FileSize int64 `protobuf:"varint,4,opt"`
FileResLength int32 `protobuf:"varint,5,opt"`
FileResWidth int32 `protobuf:"varint,6,opt"`
FileFormat int32 `protobuf:"varint,7,opt"`
FileTime int32 `protobuf:"varint,8,opt"`
ThumbFileSize int64 `protobuf:"varint,9,opt"`
}
type DataHole struct {
Begin int64 `protobuf:"varint,1,opt"`
End int64 `protobuf:"varint,2,opt"`
_ [0]func()
}
type ShortVideoIpList struct {
Ip int32 `protobuf:"varint,1,opt"`
Port int32 `protobuf:"varint,2,opt"`
_ [0]func()
}
type ShortVideoAddr struct {
Host []string `protobuf:"bytes,10,rep"`
UrlArgs string `protobuf:"bytes,11,opt"` //repeated string domain = 13;
}
type ShortVideoExtensionReq struct {
SubBusiType int32 `protobuf:"varint,1,opt"`
UserCnt int32 `protobuf:"varint,2,opt"`
_ [0]func()
}