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

21 lines
469 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"
logMiddle "gitee.com/timedb/wheatCache/plugins/log-middle"
mapKey "gitee.com/timedb/wheatCache/plugins/map-key"
2021-09-29 21:18:00 +08:00
)
2021-10-04 20:54:08 +08:00
func GetMiddlewareMap() map[string]plugins.MiddleToolsInterface {
2021-10-04 20:54:08 +08:00
return map[string]plugins.MiddleToolsInterface{
2021-09-29 21:18:00 +08:00
"logMiddle": logMiddle.NewMiddleware(),
"mapKey": mapKey.NewMiddleware(),
}
2021-09-29 21:18:00 +08:00
}