Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 637 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 637 Bytes

Making Middleware Manageable

This is a repository of companion code examples for the Golang Dorset lightning talk on HTTP middleware.

Summary

The repository is comprised of 4 parts:

  1. Part One - A simple HTTP server with an API whose /hello endpoint returns a friendly message.
  2. Part Two - Extending the HTTP server with a middleware to secure /hello with an API key.
  3. Part Three - Further extending the HTTP server with another middleware to add request logging.
  4. Part Four - Tidying up the middleware implementation by chaining.