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

166 Commits

Author SHA1 Message Date
风之凌殇
f784e94a4a feat: console and file log use different formatter, and remove build tag 2021-10-05 01:19:36 +08:00
wdvxdr
1337d3f1f3
style: move internal/config to modules/config
config should not be internal, maybe some module need it.
2021-09-26 19:41:03 +08:00
wdvxdr
ddd51e6ca3
style: move global/config to internal/config 2021-09-26 13:32:40 +08:00
wdvxdr
cf21e81016
style: move flag parse to internal/base 2021-09-25 21:09:50 +08:00
wdvxdr
5acb01c1a3
refactor: new package modules
move silk, mime to modules
2021-09-25 13:24:33 +08:00
wdvxdr
883fca089d
style: move global/update to internal/selfupdate
also move checkUpdate to internal/selfupdate
2021-09-25 10:58:54 +08:00
wdvxdr
2cf136d031
style: move flag variable into internal/base 2021-09-25 00:12:31 +08:00
wdvxdr
1db219fce0
feat: replace gout with net/http.
This significantly reduces binary size:
old 16.5MB
new 15.5MB
on windows/amd64
2021-09-23 21:03:46 +08:00
Mrs4s
5cafaea082
fix: token login error under special cases 2021-09-22 17:01:16 +08:00
源文雨
60d5f4d386
feat: hide key in command line. (#1076)
* feat: hide key in command line.

* Update go.mod

* Update go.sum

* Update main.go

* Update go.mod

* Update go.sum
2021-09-19 23:14:38 +08:00
Mrs4s
4da5d9ebfb
Merge pull request #1026 from Shigma/patch-3
enhance help
2021-09-16 19:42:59 +08:00
Mrs4s
cfaa18b131
fix: relogin error. 2021-09-16 17:11:38 +08:00
Mrs4s
7485b51c48
update retry message. 2021-09-15 13:45:04 +08:00
wdvxdr
bfea93312a
fix: panic on setting servers.
Fixes #1039
2021-09-02 19:17:01 +08:00
Shigma
8ac460dde9
Update main.go 2021-08-25 15:17:58 +08:00
Mrs4s
520cdd90bb
fix #1023. 2021-08-24 09:41:26 +08:00
Ink33
8773e19d2c
style: remove useless code 2021-08-22 15:40:06 +08:00
Ink33
8d6978a60d
feat: alert windows user when double click 2021-08-22 15:05:14 +08:00
Mrs4s
aa46ab0119
add: session delete log. 2021-08-15 01:54:03 +08:00
wdvxdr
605e572b87
feat(log): remove logrus-easy-formatter. 2021-08-07 12:56:49 +08:00
wdvxdr
e506622399
feat(codec): enhance ffmpeg output with debug. 2021-08-07 12:04:32 +08:00
Mrs4s
a2f5be2166
feat: media mime scan. 2021-08-02 04:28:19 +08:00
wdvxdr
86202d9d90
style: clean up io/ioutil.
rf '
  ex {
    import "io/ioutil";
    import "os";
    ioutil.WriteFile -> os.WriteFile
    ioutil.ReadFile -> os.ReadFile
  }
'
2021-07-29 15:18:50 +08:00
wdvxdr
0be4c79d2c
style: remove init func in main. 2021-07-28 19:21:25 +08:00
wdvxdr
19b2a86c7c
fix golint. 2021-07-25 13:04:15 +08:00
wdvxdr
e56e3b5036
feat(server): support serverless functions. 2021-07-25 12:41:57 +08:00
Mrs4s
cd4ac2078b
fix token login. 2021-07-18 22:48:38 +08:00
Mrs4s
85df77f9a5
feat: log aging & force new log file. close #963 2021-07-17 22:58:45 +08:00
povsister
e2cafbd7d6
添加无需额外配置直接打印stack的功能
*unix: kill -USR1 <gocq_pid>
windows: echo dumpstack >\\.\pipe\go-cqhttp-<pid>

stackdump将直接以<exec_name>.<pid>.stacks.<timestamp>.log
的文件名保存在当前工作目录下
2021-06-26 14:33:37 +08:00
Mrs4s
92e1aafaf3
fix lint. 2021-05-03 15:03:59 +08:00
wdvxdr
33d20d4698
fix: sub process args 2021-04-27 23:01:38 +08:00
wdvxdr
1f45c596b2
feat: set work directory 2021-04-27 22:10:35 +08:00
wdvxdr
223a888a34
reduce base64 alloc 2021-04-15 11:45:15 +08:00
wdvxdr
35e74170b7
feat(update): check sum
fuck goland2021.1
2021-04-14 21:50:10 +08:00
wdvxdr
a27848979d
remove global/config.go 2021-04-13 21:15:44 +08:00
wdvxdr
b9e7006547
feat(config): config init helper
简单向导
2021-04-12 18:38:21 +08:00
Mrs4s
48b095f825
feat: pprof server. 2021-04-11 21:11:33 +08:00
Mrs4s
beb5c77767
fix lint. 2021-04-11 20:09:47 +08:00
Mrs4s
823e6cccdd
fix reconnect delay. 2021-04-11 20:03:58 +08:00
Mrs4s
92b29dee2e
fix #issuecomment-817290057. 2021-04-11 19:57:13 +08:00
Mrs4s
382d2ffda8
remove comments. 2021-04-11 18:02:32 +08:00
Mrs4s
c32920ac40 fix #817. 2021-04-11 17:20:51 +08:00
Mrs4s
37e2fdaea7 Merge branch 'master' into dev 2021-04-10 20:41:09 +08:00
Mrs4s
2506d9144b update MiraiGo & fix #810 & fix #811 2021-04-10 20:40:24 +08:00
Mrs4s
67aa9781f2 fix selfUpdate() memory usage. 2021-04-10 16:34:52 +08:00
Mrs4s
44539a8f63 fix checkUpdate() memory usage. 2021-04-10 16:30:03 +08:00
Mrs4s
8506d7586f fix import. 2021-04-09 20:25:08 +08:00
github-actions[bot]
b20ab9dc52 ci(chore): Fix stylings 2021-04-09 10:44:41 +00:00
Mrs4s
a157bb3220 fix log. 2021-04-09 18:43:35 +08:00
Mrs4s
c1a7dda54a fix: session account check. 2021-04-09 16:18:24 +08:00