Add Exported() []string to plugin API

This commit is contained in:
Lea Anthony
2023-03-21 08:55:55 +11:00
parent b656bd2194
commit 4165caa02e
7 changed files with 84 additions and 5 deletions
+2
View File
@@ -4,6 +4,8 @@ type Plugin interface {
Name() string
Init(app *App) error
Shutdown()
// Exported is a list of method names that should be exposed to the frontend
Exported() []string
}
type PluginManager struct {