(w http.ResponseWriter, req *http.Request)
| 307 | } |
| 308 | |
| 309 | func (r *Router) recv(w http.ResponseWriter, req *http.Request) { |
| 310 | if rcv := recover(); rcv != nil { |
| 311 | r.PanicHandler(w, req, rcv) |
| 312 | } |
| 313 | } |
| 314 | |
| 315 | // Lookup allows the manual lookup of a method + path combo. |
| 316 | // This is e.g. useful to build a framework around this router. |