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