1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

17 Commits

Author SHA1 Message Date
wdvxdr
1ec3bbf188 client: use TCP method to upload group file 2023-02-17 18:01:43 +08:00
wdvxdr
f630205782 client: use UploadBDH for uploading forward message 2023-02-16 21:31:04 +08:00
wdvxdr
993ec128a0 all: fix some issue reported by golangci-lint 2023-02-13 15:33:55 +08:00
wdvxdr
aa5a8c45fc client/internal/highway: allow retry other server 2023-02-10 23:18:46 +08:00
wdvxdr
e2a42e5425
client: seek start 0 before upload 2022-03-28 15:27:59 +08:00
wdvxdr
33590e4b32
highway: rename BdhInput and Input to Transaction 2022-03-28 13:13:06 +08:00
wdvxdr
bc4e9f3c95
client: delete GetVipInfo
This api is broken.
2022-03-18 21:14:45 +08:00
wdvxdr
15a746802b
network,highway: move HeadBodyFrame to highway
This code only used by highway
2022-03-01 13:39:27 +08:00
wdvxdr
ca4580dad5
highway: refactor multi thread uploading 2022-02-27 16:46:11 +08:00
wdvxdr
e6ad62569d
Revert "highway: use io.ReadSeeker and disable multi-thread upload"
This reverts commit a2d65a2bb68227a493b1fe390e4ab77a95ff4234.

This commit break video uploading.
2022-02-27 14:14:18 +08:00
wdvxdr
a2d65a2bb6
highway: use io.ReadSeeker and disable multi-thread upload 2022-02-25 22:18:52 +08:00
wdvxdr
3555d23136
network: remove unnecessary sync.Pool 2022-02-25 21:21:21 +08:00
wdvxdr
c515024783
highway: reduce memcpy, memalloc by using net.Buffers 2022-02-23 22:19:01 +08:00
wdvxdr
fb2d3d28f0
client: remove similar code 2022-02-23 19:28:02 +08:00
wdvxdr
5e8a512698
client: allow multi-thread upload without cache file
Delete `UploadGroupImageByFile` since `UploadGroupImage` can multi-thread upload
2022-02-20 23:26:07 +08:00
wdvxdr
f464a0d474
fix: highway upload
caused by uin didn't set
2021-12-17 22:19:20 +08:00
wdvxdr
b398cec6a5
refactor: move highway.go to client/internal/highway 2021-12-15 19:13:52 +08:00