源文雨
c84d583235
feat: add sqlite3 database support
2022-11-09 16:38:33 +08:00
wdvxdr
18a091145a
style: go fmt ./...
...
also delete mkrw.go, we can maintain this file by hand.
2022-04-14 21:53:00 +08:00
wdvxdr
d522378315
all: optimize
...
detected by go-perfguard
2022-03-27 23:01:47 +08:00
wdvxdr
76295b0e89
dep: update MiraiGo
2022-03-17 16:59:47 +08:00
wdvxdr
d7fe481a8b
db,server: release config after init
2022-03-13 15:23:14 +08:00
wdvxdr
8326685088
coolq: only truncate replySeq to uint16 on private message
2022-02-18 15:09:57 +08:00
wdvxdr
2a66896d43
coolq: new package cqcode
...
move cqcode escape&unescape to new package
2022-02-16 01:14:35 +08:00
wdvxdr1123
9054d4cee8
db/leveldb: impl index read/write drop encoding/gob
( #1370 )
...
Two benefit below:
* shrink go-cqhttp binary size about 200KiB
* shrink database file from 2.8M to 1.56M compared with v2 database
Also provide a tool to migrate v2 database:
https://github.com/RomiChan/gocq-leveldb-migrate
2022-02-15 22:24:27 +08:00
wdvxdr
baecc2f8e6
dep: update MiraiGo
...
For #1368
2022-02-12 16:18:54 +08:00
wdvxdr
b70db344a6
.github: update golint.yml
2022-02-08 21:53:43 +08:00
wdvxdr
57d1be0ee5
db/leveldb: register message.RedBagMessageType
...
Fixes #1323
2022-02-06 18:39:22 +08:00
Mrs4s
8da29c292e
feat: get_guild_msg api no_cache
2021-12-14 17:50:36 +08:00
Mrs4s
32aa82f914
feat: get_guild_msg api
2021-12-13 02:34:05 +08:00
Mrs4s
57b2ce4c04
feat: database support for guild channel message
2021-12-11 23:16:00 +08:00
Ink33
d8445c2d8d
fix typo
2021-11-20 22:52:23 +08:00
wdvxdr
c499389e66
refactor(cqcode): simply cache arg handle
2021-10-19 22:14:36 +08:00
wdvxdr
5e70c8115e
feat: modular database
...
build with leveldb on default
2021-10-17 17:12:24 +08:00
wdvxdr
f767213681
feat: init disk-based btree impl
2021-09-27 22:44:45 +08:00
Mrs4s
c2166699e4
feat: multi database support - mongodb.
2021-09-26 19:11:07 +08:00
Mrs4s
f629eee7f2
fix typo.
2021-09-22 16:48:59 +08:00
Mrs4s
a56e70d07c
feat: multi database support - multi db wrapper.
2021-09-22 16:43:27 +08:00
Mrs4s
66266f0d5e
feat: multi database support - leveldb.
2021-09-22 14:43:48 +08:00