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