Skip to content

Glossary: Go in Practice

Timeout (client)

Also written: http.Client Timeout, context deadline exceeded

`http.Client{Timeout: d}` limits a whole call. A context deadline can make it shorter, and the error then ends in `context deadline exceeded`.

Where the book teaches it

Related terms

http.Client