Hooks returns the hook struct to register hooks.
()
| 1318 | |
| 1319 | // Hooks returns the hook struct to register hooks. |
| 1320 | func (app *App) Hooks() *Hooks { |
| 1321 | return app.hooks |
| 1322 | } |
| 1323 | |
| 1324 | // State returns the in-process state struct to store global data between handlers. |
| 1325 | // State is process-local and is not shared across prefork workers. |
no outgoing calls