SetMethodNotAllowedHandle set custom 405 handler
(handler StandardHandle)
| 291 | |
| 292 | // SetMethodNotAllowedHandle set custom 405 handler |
| 293 | func (app *DotWeb) SetMethodNotAllowedHandle(handler StandardHandle) { |
| 294 | app.MethodNotAllowedHandler = handler |
| 295 | } |
| 296 | |
| 297 | // SetPProfConfig set pprofserver config, default is disable |
| 298 | // and don't use same port with StartServer |
no outgoing calls
no test coverage detected