mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Add Exported() []string to plugin API
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user