Glossary: Go Beyond the Basics
srv.Shutdown
Also written: Shutdown
Stops an `http.Server` cleanly: it takes no new connections and waits for running requests to finish, within the context's time limit.
Glossary: Go Beyond the Basics
Also written: Shutdown
Stops an `http.Server` cleanly: it takes no new connections and waits for running requests to finish, within the context's time limit.