mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-10-14 06:39:35 +02:00
Merge pull request #753 from AnthonyMichaelTDM/plugin-improvements
feat(plugins): Implement event system w/ POC events
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"time"
|
||||
|
||||
"imuslab.com/zoraxy/mod/auth/sso/oauth2"
|
||||
"imuslab.com/zoraxy/mod/eventsystem"
|
||||
|
||||
"github.com/gorilla/csrf"
|
||||
"imuslab.com/zoraxy/mod/access"
|
||||
@@ -369,6 +370,11 @@ func startupSequence() {
|
||||
HotReloadInterval: 5, //seconds
|
||||
})
|
||||
|
||||
/*
|
||||
Event Manager
|
||||
*/
|
||||
eventsystem.InitEventSystem(SystemWideLogger)
|
||||
|
||||
//Sync latest plugin list from the plugin store
|
||||
go func() {
|
||||
err = pluginManager.UpdateDownloadablePluginList()
|
||||
|
Reference in New Issue
Block a user