add comments
This commit is contained in:
@@ -2,6 +2,8 @@ package core
|
||||
|
||||
import "github.com/mayswind/lab/pkg/errs"
|
||||
|
||||
// MiddlewareHandlerFunc represents the middleware handler function
|
||||
type MiddlewareHandlerFunc func(*Context)
|
||||
|
||||
// ApiHandlerFunc represents the api handler function
|
||||
type ApiHandlerFunc func(*Context) (interface{}, *errs.Error)
|
||||
|
||||
Reference in New Issue
Block a user