Skip to content

Glossary: System Design Basics in Go

httptest.NewServer

Also written: httptest

A Go helper that starts a real local server for demos and tests, used to fake a slow service.

Where the book teaches it

Related terms

timeoutnet/http