Documentation
¶
Overview ¶
migrate-from-chi example — chi → zip via stdlib adapter.
Use zip.AdaptNetHTTP(chiRouter) to mount an existing chi.Router as a migration step. Replace adapted routes with native zip handlers when feasible; the adapter costs ~5% perf vs native Fiber dispatch.
chi is NOT a dep of this example — we adapt any http.Handler, and a chi.Router satisfies that interface natively.
Click to show internal directories.
Click to hide internal directories.