Skip to content

Commit

Permalink
merge: v1.14.5 (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
hwbrzzl authored Sep 8, 2024
1 parent 7937e20 commit e37e728
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 1 deletion.
3 changes: 3 additions & 0 deletions contracts/route/route.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package route

import (
"context"
"net/http"

contractshttp "github.com/goravel/framework/contracts/http"
Expand All @@ -22,6 +23,8 @@ type Route interface {
RunTLSWithCert(host, certFile, keyFile string) error
// ServeHTTP serves HTTP requests.
ServeHTTP(writer http.ResponseWriter, request *http.Request)
// Shutdown gracefully shuts down the serve.
Shutdown(ctx ...context.Context) error
}

type Router interface {
Expand Down
2 changes: 1 addition & 1 deletion foundation/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ func (app *Application) Boot() {
console.NewPackageMakeCommand(),
console.NewVendorPublishCommand(app.publishes, app.publishGroups),
})
app.bootArtisan()
app.setTimezone()
app.bootArtisan()
}

func (app *Application) Commands(commands []consolecontract.Command) {
Expand Down
61 changes: 61 additions & 0 deletions mocks/route/Route.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e37e728

Please sign in to comment.