refactor: replace redis runtime and queues with sqlite-backed scheduler

This commit is contained in:
alphago9
2026-03-29 17:26:36 +08:00
parent d6e7927605
commit fc8d58024e
22 changed files with 1193 additions and 446 deletions
+2 -13
View File
@@ -10,26 +10,15 @@ import (
"github.com/assimon/luuu/util/log"
)
// Start 服务启动
func Start() {
// 配置加载
config.Init()
// 日志加载
log.Init()
// // Mysql启动
// dao.MysqlInit()
// dao.MdbTableInit()
// // redis启动
// dao.RedisInit()
dao.Init()
// 队列启动
mq.Start()
// telegram机器人启动
go telegram.BotStart()
// 定时任务
go task.Start()
err := command.Execute()
if err != nil {
if err := command.Execute(); err != nil {
panic(err)
}
}