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:
parent
3f8b45c8d0
commit
1481763035
2
echo.go
2
echo.go
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user