2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 14:57:16 +08:00
Files
panel/app/http/kernel.go
2024-05-29 21:31:01 +08:00

19 lines
375 B
Go

package http
import (
"github.com/goravel/framework/contracts/http"
"github.com/TheTNB/panel/app/http/middleware"
)
type Kernel struct {
}
// The application's global HTTP middleware stack.
// These middleware are run during every request to your application.
func (kernel Kernel) Middleware() []http.Middleware {
return []http.Middleware{
middleware.Status(),
}
}