canceledContextWithMarker() — fiber Function Reference
Architecture documentation for the canceledContextWithMarker() function in limiter_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 418b866d_b436_722f_b08d_9990bcc9fd7d["canceledContextWithMarker()"] 0509da96_221e_0d0d_fe2e_f2e2e3695b6f["limiter_test.go"] 418b866d_b436_722f_b08d_9990bcc9fd7d -->|defined in| 0509da96_221e_0d0d_fe2e_f2e2e3695b6f b4c4e898_37f6_b5aa_95ab_209eb58a3653["TestLimiterFixedPropagatesRequestContextToStorage()"] b4c4e898_37f6_b5aa_95ab_209eb58a3653 -->|calls| 418b866d_b436_722f_b08d_9990bcc9fd7d bb671d74_1b55_c7e1_5447_a449c0f633f1["TestLimiterSlidingPropagatesRequestContextToStorage()"] bb671d74_1b55_c7e1_5447_a449c0f633f1 -->|calls| 418b866d_b436_722f_b08d_9990bcc9fd7d 7f532e95_c67c_e1fb_201a_4523be5937f5["contextWithMarker()"] 418b866d_b436_722f_b08d_9990bcc9fd7d -->|calls| 7f532e95_c67c_e1fb_201a_4523be5937f5 style 418b866d_b436_722f_b08d_9990bcc9fd7d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
middleware/limiter/limiter_test.go lines 177–181
func canceledContextWithMarker(label string) context.Context {
ctx, cancel := context.WithCancel(contextWithMarker(label))
cancel()
return ctx
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does canceledContextWithMarker() do?
canceledContextWithMarker() is a function in the fiber codebase, defined in middleware/limiter/limiter_test.go.
Where is canceledContextWithMarker() defined?
canceledContextWithMarker() is defined in middleware/limiter/limiter_test.go at line 177.
What does canceledContextWithMarker() call?
canceledContextWithMarker() calls 1 function(s): contextWithMarker.
What calls canceledContextWithMarker()?
canceledContextWithMarker() is called by 2 function(s): TestLimiterFixedPropagatesRequestContextToStorage, TestLimiterSlidingPropagatesRequestContextToStorage.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free