完成安全整改与认证功能重构
This commit is contained in:
1 parent
e91a64136b
commit
51767b9f5b
480 files changed
+57538
-7244
No files matched your search
@@ -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()
|
||||
}
|
||||
Reference in new issue
Block a user