Chi router

Chi is a lightweight, composable HTTP router for Go built around the standard net/http interfaces. It provides route registration, URL parameters, route groups, and middleware composition.

Learn this concept

Lesson 1.17 · The chi router and context.Context

Used in exercises

Exercise 1.19 · chi server with /healthz and a rate limit Exercise 3.24 · POST /v1/auth/login: rate limit attempts
Prerequisite conceptsHTTP handlerHTTP middleware