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

25 lines
328 B
Go

package log_middle
import (
"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"
}
func NewMiddleware() plugins.MiddleToolsInterface {
return &mapKey{}
}