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

23 lines
292 B
Go
Raw Normal View History

package log_middle
import (
"fmt"
"gitee.com/timedb/wheatCache/middleware"
)
type ABB struct {
}
func (i *ABB) Init() {
}
2021-09-29 21:21:45 +08:00
func (i *ABB) Exec(interface{}) (interface{}, error) {
fmt.Println(1)
return nil, nil
}
2021-09-29 21:21:45 +08:00
func NewMiddleware() middleware.MiddleToolsInterface {
return &ABB{}
}