lightmux/pkg/router
juancwu 22277186ae extract middlewares to lightmux-contrib
Removes pkg/middleware. The Logger, Recoverer, and RealIP middlewares
now live in the sibling lightmux-contrib module as the realip,
requestlog, and recoverer packages, each exposing a single New(...)
constructor.

The Middleware type alias moves to pkg/router. The splinter dependency
is dropped from go.mod; only errx remains.

BREAKING CHANGE: consumers must replace pkg/middleware imports with
the corresponding lightmux-contrib sub-packages. See README for the
new usage.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 14:02:54 +00:00
..
chain.go extract middlewares to lightmux-contrib 2026-04-26 14:02:54 +00:00
chain_test.go extract middlewares to lightmux-contrib 2026-04-26 14:02:54 +00:00
middleware.go extract middlewares to lightmux-contrib 2026-04-26 14:02:54 +00:00
mux.go extract middlewares to lightmux-contrib 2026-04-26 14:02:54 +00:00
mux_test.go add mw to resolve ip address 2026-04-26 13:14:30 +00:00
pattern.go use errx and splinter packages 2026-04-25 20:41:55 +00:00
pattern_test.go add mw to resolve ip address 2026-04-26 13:14:30 +00:00