SetNotFoundHandle set custom 404 handler
(handler StandardHandle)
| 286 | |
| 287 | // SetNotFoundHandle set custom 404 handler |
| 288 | func (app *DotWeb) SetNotFoundHandle(handler StandardHandle) { |
| 289 | app.NotFoundHandler = handler |
| 290 | } |
| 291 | |
| 292 | // SetMethodNotAllowedHandle set custom 405 handler |
| 293 | func (app *DotWeb) SetMethodNotAllowedHandle(handler StandardHandle) { |
no outgoing calls
no test coverage detected