update plugin management

This commit is contained in:
aynakeya
2024-04-15 14:00:48 -07:00
parent 139f331a14
commit fbf8c7f149
9 changed files with 243 additions and 162 deletions

7
core/model/plugin.go Normal file
View File

@@ -0,0 +1,7 @@
package model
type Plugin interface {
Name() string
Enable() error
Disable() error
}