Home / Type/ maxParams Type — fiber Architecture

maxParams Type — fiber Architecture

Architecture documentation for the maxParams type/interface in ctx.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  fbf482c1_5ec6_75c9_faca_1dfa3c4631e6["maxParams"]
  cad7e9fd_e7ea_d2d5_dcdb_0dc8cb836c4d["ctx.go"]
  fbf482c1_5ec6_75c9_faca_1dfa3c4631e6 -->|defined in| cad7e9fd_e7ea_d2d5_dcdb_0dc8cb836c4d
  style fbf482c1_5ec6_75c9_faca_1dfa3c4631e6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

ctx.go lines 54–77

type DefaultCtx struct {
	handlerCtx       CustomCtx            // Active custom context implementation, if any
	DefaultReq                            // Default request api
	DefaultRes                            // Default response api
	app              *App                 // Reference to *App
	route            *Route               // Reference to *Route
	fasthttp         *fasthttp.RequestCtx // Reference to *fasthttp.RequestCtx
	bind             *Bind                // Default bind reference
	redirect         *Redirect            // Default redirect reference
	viewBindMap      Map                  // Default view map to bind template engine
	values           [maxParams]string    // Route parameter values
	baseURI          string               // HTTP base uri
	pathOriginal     string               // Original HTTP path
	flashMessages    redirectionMsgs      // Flash messages
	path             []byte               // HTTP path with the modifications by the configuration
	detectionPath    []byte               // Route detection path
	treePathHash     int                  // Hash of the path for the search in the tree
	indexRoute       int                  // Index of the current route
	indexHandler     int                  // Index of the current handler
	methodInt        int                  // HTTP method INT equivalent
	abandoned        atomic.Bool          // If true, ctx won't be pooled until ForceRelease is called
	matched          bool                 // Non use route matched
	skipNonUseRoutes bool                 // Skip non-use routes while iterating middleware
}

Defined In

Frequently Asked Questions

What is the maxParams type?
maxParams is a type/interface in the fiber codebase, defined in ctx.go.
Where is maxParams defined?
maxParams is defined in ctx.go at line 54.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free