Glossary: Go Beyond the Basics
middleware
A function that wraps a handler to do work before or after it, such as `logRequests` timing and logging every request.
Glossary: Go Beyond the Basics
A function that wraps a handler to do work before or after it, such as `logRequests` timing and logging every request.