Skip to content

Glossary: Go Beyond the Basics

timeout

Also written: timeouts

A limit on how long to wait. In Go you make one with `time.After` in a `select`, with `context.WithTimeout`, or with the `http.Server` timeouts.

Where the book teaches it

Related terms

time.After / time.NewTickerWithTimeout / WithCancelhttp.Server