Skip to content

Glossary: Go Beyond the Basics

router

Also written: ServeMux, mux, http.NewServeMux

The part that picks which handler runs for each request. `http.NewServeMux` makes one.

Where the book teaches it

Related terms

patternhandler (HTTP)net/http