Integrations · Go framework

Pagerless for chi and gorilla/mux

One middleware each. Routes are reported by their pattern, so `/orders/{id}` is one route.

Set up

go get github.com/lcbasu/pagerless-go/chi@v0.2.0
chi
import pagerlesschi "github.com/lcbasu/pagerless-go/chi"

r.Use(middleware.Recoverer, pagerlesschi.Middleware)
gorilla/mux
import pagerlessmux "github.com/lcbasu/pagerless-go/gorillamux"

r.Use(pagerlessmux.Middleware)

What it catches

  • Panics and 5xx responses, per route pattern.
  • A heartbeat and a deploy marker from the core SDK.

Questions

Plain net/http?

Use pagerless.Middleware(mux) from the core module. See the Go SDK.

Updated .

Free for you and one backup · 3 apps · no card

Sleep through the small stuff.

Run one command in your repo. Pagerless shows every change before it makes it.

npx pagerless connect