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

23 lines
521 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 {
logMiddle := logMiddle.NewMiddleware()
mapKey := mapKey.NewMiddleware()
2021-10-04 20:54:08 +08:00
return map[string]plugins.MiddleToolsInterface{
2021-09-29 21:18:00 +08:00
logMiddle.Name(): logMiddle,
mapKey.Name(): mapKey,
}
2021-09-29 21:18:00 +08:00
}