wheat-cache/plugins/config/middle.gen.go

20 lines
397 B
Go
Raw Normal View History

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