Home / Type/ App Type — fiber Architecture

App Type — fiber Architecture

Architecture documentation for the App type/interface in hooks.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  cb32bdf4_fa43_f7b1_b236_b890e4d47851["App"]
  12bfb898_b1c5_c958_dabc_608c81f56f8f["hooks.go"]
  cb32bdf4_fa43_f7b1_b236_b890e4d47851 -->|defined in| 12bfb898_b1c5_c958_dabc_608c81f56f8f
  style cb32bdf4_fa43_f7b1_b236_b890e4d47851 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

Frequently Asked Questions

What is the App type?
App is a type/interface in the fiber codebase, defined in hooks.go.
Where is App defined?
App 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