forked from p93542168/wheat-cache
25 lines
328 B
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{}
|
|
}
|