Compose
func Explicitly
A middleware that connects the flow
func Explicitly(c Context, next HandlerFunc) error {
return next(c)
}
func Compose
Merges multiple middlewares into one, implementing the onion model, which differs from the last-in-first-out mode of frameworks like gin/chi/echo.
func Compose(middleware ...MiddlewareFunc) MiddlewareFunc
warning
When no parameters are provided, the return value of function Compose is nil.