11 lines
287 B
Go
11 lines
287 B
Go
package pluginmanager
|
|
|
|
type MockPluginManager struct {
|
|
RunF func()
|
|
ShutdownF func()
|
|
}
|
|
|
|
func (m *MockPluginManager) Run() { m.RunF() }
|
|
func (m *MockPluginManager) Shutdown() { m.ShutdownF() }
|
|
func (m *MockPluginManager) PluginType() string { return "mock" }
|