Skip to content

Glossary: Go in Practice

http.Server

Also written: ListenAndServe, ErrServerClosed

The Go type that serves requests. `ListenAndServe` serves until it fails, and after `Shutdown` it returns `http.ErrServerClosed` as the normal result.

Where the book teaches it

Related terms

Signal; SIGTERMMuxGraceful shutdown