完成安全整改与认证功能重构

This commit is contained in:
xuans committed 2026-08-27 21:51:51 +08:00
1 parent e91a64136b
commit 51767b9f5b
480 files changed
+57538 -7244

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
package main
import (
"github.com/Jinnrry/pmail/hooks/framework"
"github.com/ydzydzydz/pmail_telegram_push/config"
"github.com/ydzydzydz/pmail_telegram_push/hook"
)
func main() {
// 读取配置
cfg := config.ReadConfig()
// 启动插件
framework.CreatePlugin(
hook.PLUGIN_NAME,
hook.NewPmailTelegramPushHook(cfg),
).Run()
}