Home / Function/ canceledContextWithMarker() — fiber Function Reference

canceledContextWithMarker() — fiber Function Reference

Architecture documentation for the canceledContextWithMarker() function in cache_test.go from the fiber codebase.

Function go FiberMiddleware Caching calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  7de6ac74_535e_b3de_5e3a_aab85ae3edca["canceledContextWithMarker()"]
  8453a087_9678_fe96_1b20_2d125b6f8656["cache_test.go"]
  7de6ac74_535e_b3de_5e3a_aab85ae3edca -->|defined in| 8453a087_9678_fe96_1b20_2d125b6f8656
  91805460_0832_eea8_078a_68361793a0d5["TestCacheEvictionPropagatesRequestContextToDelete()"]
  91805460_0832_eea8_078a_68361793a0d5 -->|calls| 7de6ac74_535e_b3de_5e3a_aab85ae3edca
  af97e999_c992_ee9a_3d06_0b4824e3a2fd["TestCacheCleanupPropagatesRequestContextToDelete()"]
  af97e999_c992_ee9a_3d06_0b4824e3a2fd -->|calls| 7de6ac74_535e_b3de_5e3a_aab85ae3edca
  fd2bca04_19f0_1e38_9da6_7edbe8446cf4["TestCacheStorageOperationsObserveRequestContext()"]
  fd2bca04_19f0_1e38_9da6_7edbe8446cf4 -->|calls| 7de6ac74_535e_b3de_5e3a_aab85ae3edca
  2018faac_33e1_3614_02e8_25e358c08098["contextWithMarker()"]
  7de6ac74_535e_b3de_5e3a_aab85ae3edca -->|calls| 2018faac_33e1_3614_02e8_25e358c08098
  style 7de6ac74_535e_b3de_5e3a_aab85ae3edca fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

middleware/cache/cache_test.go lines 319–323

func canceledContextWithMarker(label string) context.Context {
	ctx, cancel := context.WithCancel(contextWithMarker(label))
	cancel()
	return ctx
}

Subdomains

Frequently Asked Questions

What does canceledContextWithMarker() do?
canceledContextWithMarker() is a function in the fiber codebase, defined in middleware/cache/cache_test.go.
Where is canceledContextWithMarker() defined?
canceledContextWithMarker() is defined in middleware/cache/cache_test.go at line 319.
What does canceledContextWithMarker() call?
canceledContextWithMarker() calls 1 function(s): contextWithMarker.
What calls canceledContextWithMarker()?
canceledContextWithMarker() is called by 3 function(s): TestCacheCleanupPropagatesRequestContextToDelete, TestCacheEvictionPropagatesRequestContextToDelete, TestCacheStorageOperationsObserveRequestContext.

Analyze Your Own Codebase

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

Try Supermodel Free