Hooks Type — fiber Architecture
Architecture documentation for the Hooks type/interface in hooks.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 9498f07c_0d54_f188_5387_0480a9809ec5["Hooks"] 12bfb898_b1c5_c958_dabc_608c81f56f8f["hooks.go"] 9498f07c_0d54_f188_5387_0480a9809ec5 -->|defined in| 12bfb898_b1c5_c958_dabc_608c81f56f8f style 9498f07c_0d54_f188_5387_0480a9809ec5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
hooks.go lines 35–51
type Hooks struct {
// Embed app
app *App
// Hooks
onRoute []OnRouteHandler
onName []OnNameHandler
onGroup []OnGroupHandler
onGroupName []OnGroupNameHandler
onListen []OnListenHandler
onPreStartup []OnPreStartupMessageHandler
onPostStartup []OnPostStartupMessageHandler
onPreShutdown []OnPreShutdownHandler
onPostShutdown []OnPostShutdownHandler
onFork []OnForkHandler
onMount []OnMountHandler
}
Defined In
Source
Frequently Asked Questions
What is the Hooks type?
Hooks is a type/interface in the fiber codebase, defined in hooks.go.
Where is Hooks defined?
Hooks is defined in hooks.go at line 35.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free