Home / Type/ param Type — fiber Architecture

param Type — fiber Architecture

Architecture documentation for the param type/interface in path.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  de9613ec_a180_7e25_43fb_93ae436be488["param"]
  bedec411_93e0_4024_219e_79649f60a9be["path.go"]
  de9613ec_a180_7e25_43fb_93ae436be488 -->|defined in| bedec411_93e0_4024_219e_79649f60a9be
  style de9613ec_a180_7e25_43fb_93ae436be488 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

path.go lines 86–96

type CustomConstraint interface {
	// Name returns the name of the constraint.
	// This name is used in the constraint matching.
	Name() string

	// Execute executes the constraint.
	// It returns true if the constraint is matched and right.
	// param is the parameter value to check.
	// args are the constraint arguments.
	Execute(param string, args ...string) bool
}

Defined In

Frequently Asked Questions

What is the param type?
param is a type/interface in the fiber codebase, defined in path.go.
Where is param defined?
param is defined in path.go at line 86.

Analyze Your Own Codebase

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

Try Supermodel Free