2021-09-29 18:55:18 +08:00
|
|
|
// Code generated by gen-middleware. DO NOT EDIT.
|
|
|
|
// make gen-middleware generated
|
|
|
|
|
|
|
|
package config
|
|
|
|
|
|
|
|
import (
|
2021-11-02 14:45:08 +08:00
|
|
|
"gitee.com/wheat-os/wheatCache/plugins"
|
2021-10-04 20:04:28 +08:00
|
|
|
|
2021-11-02 14:45:08 +08:00
|
|
|
mockPlugin "gitee.com/wheat-os/wheatCache/plugins/mock-plugin"
|
2021-09-29 21:18:00 +08:00
|
|
|
)
|
2021-09-29 18:55:18 +08:00
|
|
|
|
2021-10-19 15:33:03 +08:00
|
|
|
func GetMiddlewareMap() map[string]plugins.PluginInterface {
|
2021-09-29 18:55:18 +08:00
|
|
|
|
2021-10-19 15:33:03 +08:00
|
|
|
mockPlugin := mockPlugin.NewPlugin()
|
2021-10-25 15:23:36 +08:00
|
|
|
mockPlugin.Init()
|
2021-09-29 21:18:00 +08:00
|
|
|
|
2021-10-25 15:23:36 +08:00
|
|
|
return map[string]plugins.PluginInterface{
|
2021-10-19 15:33:03 +08:00
|
|
|
mockPlugin.Name(): mockPlugin,
|
2021-09-29 18:55:18 +08:00
|
|
|
}
|
2021-09-29 21:18:00 +08:00
|
|
|
}
|