Benchmark_CSRF_SubdomainMatch() — fiber Function Reference
Architecture documentation for the Benchmark_CSRF_SubdomainMatch() function in helpers_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 34f7c5a4_183c_49af_6826_0d2bfda7a5be["Benchmark_CSRF_SubdomainMatch()"] ce76a6de_702b_f385_2421_4a80229c068f["helpers_test.go"] 34f7c5a4_183c_49af_6826_0d2bfda7a5be -->|defined in| ce76a6de_702b_f385_2421_4a80229c068f style 34f7c5a4_183c_49af_6826_0d2bfda7a5be fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
middleware/csrf/helpers_test.go lines 202–215
func Benchmark_CSRF_SubdomainMatch(b *testing.B) {
s := subdomain{
prefix: "www",
suffix: "example.com",
}
o := "www.example.com"
b.ReportAllocs()
for b.Loop() {
s.match(o)
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Benchmark_CSRF_SubdomainMatch() do?
Benchmark_CSRF_SubdomainMatch() is a function in the fiber codebase, defined in middleware/csrf/helpers_test.go.
Where is Benchmark_CSRF_SubdomainMatch() defined?
Benchmark_CSRF_SubdomainMatch() is defined in middleware/csrf/helpers_test.go at line 202.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free