mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
Add plugins required flag (#40)
* add required plugins flag. * update plugins logs. * add plugins subcommand. * move preflight to prerun.
This commit is contained in:
@ -28,6 +28,13 @@ type PluginConfig interface {
|
||||
Set()
|
||||
}
|
||||
|
||||
type PluginMetadata struct {
|
||||
Name string
|
||||
IsDependable bool
|
||||
IsExposable bool
|
||||
DependsOn []string `json:",omitempty"`
|
||||
}
|
||||
|
||||
type PluginManagers struct {
|
||||
SessionManager SessionManager
|
||||
WebSocketManager WebSocketManager
|
||||
|
Reference in New Issue
Block a user