This commit is contained in:
wanyaoqi
2019-01-26 15:55:48 +08:00
parent 5fd345a31c
commit f91f33d696
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -340,7 +340,7 @@ func (app *Application) IsInServe() bool {
return app.server != nil
}
func (app *Application) ShotDown(ctx context.Context) error {
func (app *Application) ShutDown(ctx context.Context) error {
if app.server != nil {
return app.server.Shutdown(ctx)
}