wheat-cache/plugins/map-key/middleware.go

25 lines
328 B
Go
Raw Normal View History

package log_middle
import (
2021-10-04 20:54:08 +08:00
"gitee.com/timedb/wheatCache/plugins"
)
type mapKey struct {
}
func (i *mapKey) Init() {
}
func (i *mapKey) Exec(interface{}) (interface{}, error) {
return nil, nil
}
func (i *mapKey) Name() string {
return "mapKey"
}
2021-10-04 20:54:08 +08:00
func NewMiddleware() plugins.MiddleToolsInterface {
return &mapKey{}
}