1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00

comment typo fix (#1246)

This commit is contained in:
Charlie Bevis 2019-01-09 16:14:26 -07:00 committed by Vishal Rana
parent 3f8b45c8d0
commit 1481763035

View File

@ -682,7 +682,7 @@ func (e *Echo) Close() error {
return e.Server.Close() return e.Server.Close()
} }
// Shutdown stops server the gracefully. // Shutdown stops the server gracefully.
// It internally calls `http.Server#Shutdown()`. // It internally calls `http.Server#Shutdown()`.
func (e *Echo) Shutdown(ctx stdContext.Context) error { func (e *Echo) Shutdown(ctx stdContext.Context) error {
if err := e.TLSServer.Shutdown(ctx); err != nil { if err := e.TLSServer.Shutdown(ctx); err != nil {