1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00

38 Commits

Author SHA1 Message Date
wdvxdr
a9a08dbb3a
client: delete SpecialTitleExpireTime field in GroupMemberInfo 2022-05-23 12:01:38 +08:00
wdvxdr
4a007cfcf9
all: rewrite interface{} to any
generated by `gofmt -w -r 'interface{} -> any' .`
2022-03-17 10:52:03 +08:00
wdvxdr
a7098f6000
client: use packOIDBPackageProto 2022-03-01 22:03:08 +08:00
wdvxdr
ef65fd67e6
client: use unpackOIDBPackage 2022-03-01 16:45:01 +08:00
wdvxdr
d53bf8503e
client/pb: re-generate proto files 2022-02-14 00:51:36 +08:00
wdvxdr
3e2b57eab5
internal/network: first version of transport send 2021-12-22 20:13:23 +08:00
wdvxdr
6b5ba9f9c4
refactor: move c.nextSeq to c.uniPacket 2021-12-17 23:50:30 +08:00
wdvxdr
1c29ac7d96
refactor: packets.BuildUniPacket -> c.uniPacket
mostly auto-generated by

```
rf '
ex {
    var c QQClient
    var seq uint16
    var payload []byte
    var command string
    BuildUniPacket(c.Uin, seq, command, 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) -> c.uniPacket(seq, command, payload)
}
'
```
2021-12-17 22:58:41 +08:00
wdvxdr
b398cec6a5
refactor: move highway.go to client/internal/highway 2021-12-15 19:13:52 +08:00
fumiama
13a9d087e7 perf(jce): drop reflect in reader
name                   old time/op    new time/op    delta
JceReader_ReadSlice-8    1.53ms ±90%    0.82ms ±86%  -46.30%  (p=0.017 n=16+16)

name                   old speed      new speed      delta
JceReader_ReadSlice-8   117MB/s ± 3%   228MB/s ± 4%  +94.43%  (p=0.000 n=16+16)

name                   old alloc/op   new alloc/op   delta
JceReader_ReadSlice-8     516kB ±88%     536kB ±85%     ~     (p=0.780 n=16+16)

name                   old allocs/op  new allocs/op  delta
JceReader_ReadSlice-8     25.6k ±88%     26.6k ±85%     ~     (p=0.780 n=16+16)
2021-11-26 15:02:44 +08:00
wdvxdr
ec4cd4a6f3
style: internal/proto
use this package for conveniently replacing proto package
in the future.
2021-11-22 22:05:19 +08:00
wdvxdr
7b125259d6
style: sort imports 2021-11-12 23:43:22 +08:00
github-actions[bot]
89b2d4e2ba ci(chore): Fix stylings 2021-11-01 18:45:12 +00:00
Mrs4s
2350d04f0f
style: rename package protocol to internal 2021-11-02 02:44:20 +08:00
wdvxdr
fd9a6657fa
drop dep jsoniter&reflect2.
for smaller binary size.
2021-08-25 16:16:08 +08:00
wdvxdr
1d900b302d
feat: group member shut up timestamp.
Fixes: #174
2021-08-07 16:43:13 +08:00
wdvxdr
7fe0b873c3
fix some issue with golangci-lint. 2021-07-15 21:33:30 +08:00
wdvxdr
cde0aab5ab
feat: get group member with binary search 2021-04-07 22:12:52 +08:00
github-actions
a0454193f7 ci(chore): Fix stylings 2021-03-20 13:25:19 +00:00
Sam
8a5cb302c3
处理冲突 2021-03-16 20:42:57 +08:00
Sam
9434c74620
Update new fields
- Recompiled all pb file (被逼的)
group_info.go:
- GroupInfo added GroupLevel and GroupCreateTime field
- GroupSearchInfo added Memo field
2021-03-16 20:34:20 +08:00
Mrs4s
6c17f296a9 optimize decoder params. 2021-03-04 15:21:32 +08:00
github-actions
65ab1304e6 ci(chore): Fix stylings 2021-02-14 03:06:03 +00:00
Mrs4s
33c34b14f2 make sendGroupPoke exported. 2021-02-06 02:13:45 +08:00
wdvxdr
f009aa7ac4
clean 2021-01-26 16:50:18 +08:00
wdvxdr
2c63baa143
clean 2021-01-26 16:49:05 +08:00
wdvxdr
7aa30f1de7
feat search group 2021-01-26 16:44:06 +08:00
lz1998
8c7c0d08aa kick,mute: return error 2021-01-24 17:45:21 +08:00
Mrs4s
9549a32d95 update GroupInfo. 2021-01-24 14:56:45 +08:00
Lin
704f0b0a4a Switch to jsoniter 2021-01-17 16:10:13 +08:00
Mrs4s
d360670837 feature anonymous mute. close #84 2020-12-24 20:36:42 +08:00
Mrs4s
7dca259315 move structs. 2020-12-24 20:01:47 +08:00
Mrs4s
a56a314a61 fix msg receipt. 2020-12-02 00:33:00 +08:00
Mrs4s
6c18a70565 feature get group messages & clear code. 2020-12-02 00:01:50 +08:00
wfjsw
02eb1c6357 better error support 2020-11-25 13:14:55 +08:00
Mrs4s
b51d8b417c feature sso addr fetch. 2020-11-13 18:46:55 +08:00
Mrs4s
2566bea1f8 clear code. 2020-11-04 01:51:36 +08:00
Mrs4s
a45bbd6364 fix GetGroupInfo() panic. 2020-11-04 01:46:31 +08:00