feat(middleware): add middleware interface

This commit is contained in:
Sodesnei 2021-09-26 22:13:17 +08:00
parent 0458ed3d21
commit ea9a660740
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)
}