!34 add middleware interface

Merge pull request !34 from Sodesnei/feat-middle-tools-interface
This commit is contained in:
bandl 2021-09-27 01:22:31 +00:00 committed by Gitee
commit 70319ae2b1
1 changed files with 6 additions and 0 deletions

6
middleware/define.go Normal file
View File

@ -0,0 +1,6 @@
package middleware
type MiddlewareInterface interface {
Init()
Exet(interface{}) (interface{}, error)
}