main
v5.5.0
github.com/go-chi/chi/v5/_examples/custom-handler
Documentation
pkg.go.dev ↗Types
Handler
type Handler func(w http.ResponseWriter, r *http.Request) error
Handler.ServeHTTP
func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)