newFailingCacheStorage() — fiber Function Reference
Architecture documentation for the newFailingCacheStorage() function in cache_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 764bea14_4c8a_81bd_ccd6_a1952b5d95d1["newFailingCacheStorage()"] 8453a087_9678_fe96_1b20_2d125b6f8656["cache_test.go"] 764bea14_4c8a_81bd_ccd6_a1952b5d95d1 -->|defined in| 8453a087_9678_fe96_1b20_2d125b6f8656 dd1b3634_0cbf_5a63_3fcc_869cfe1a2add["newContextRecorderStorage()"] dd1b3634_0cbf_5a63_3fcc_869cfe1a2add -->|calls| 764bea14_4c8a_81bd_ccd6_a1952b5d95d1 34664af1_0ec1_130e_894b_b1dc7a51996b["TestCacheStorageGetError()"] 34664af1_0ec1_130e_894b_b1dc7a51996b -->|calls| 764bea14_4c8a_81bd_ccd6_a1952b5d95d1 d940bdce_ef18_497d_cddd_12087f3abbd7["TestCacheStorageSetError()"] d940bdce_ef18_497d_cddd_12087f3abbd7 -->|calls| 764bea14_4c8a_81bd_ccd6_a1952b5d95d1 f2582811_9653_2154_7ea4_c0518de4be97["TestCacheStorageDeleteError()"] f2582811_9653_2154_7ea4_c0518de4be97 -->|calls| 764bea14_4c8a_81bd_ccd6_a1952b5d95d1 57d80c8e_ebdc_62dc_6a3a_212c514b27aa["Test_CacheInvalidExpiresStoredAsStale()"] 57d80c8e_ebdc_62dc_6a3a_212c514b27aa -->|calls| 764bea14_4c8a_81bd_ccd6_a1952b5d95d1 67de0060_9f5d_b67b_5553_0299206a6680["Test_Cache_MaxBytes_DeletionFailureRestoresTracking()"] 67de0060_9f5d_b67b_5553_0299206a6680 -->|calls| 764bea14_4c8a_81bd_ccd6_a1952b5d95d1 90f1635b_2386_a4b0_203a_6cde9263a618["Test_Cache_VaryAndAuth()"] 90f1635b_2386_a4b0_203a_6cde9263a618 -->|calls| 764bea14_4c8a_81bd_ccd6_a1952b5d95d1 e60dee51_dbec_1dc5_78e1_1cd50e1d0809["Test_Cache_RequestResponseDirectives()"] e60dee51_dbec_1dc5_78e1_1cd50e1d0809 -->|calls| 764bea14_4c8a_81bd_ccd6_a1952b5d95d1 style 764bea14_4c8a_81bd_ccd6_a1952b5d95d1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
middleware/cache/cache_test.go lines 41–46
func newFailingCacheStorage() *failingCacheStorage {
return &failingCacheStorage{
data: make(map[string][]byte),
errs: make(map[string]error),
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does newFailingCacheStorage() do?
newFailingCacheStorage() is a function in the fiber codebase, defined in middleware/cache/cache_test.go.
Where is newFailingCacheStorage() defined?
newFailingCacheStorage() is defined in middleware/cache/cache_test.go at line 41.
What calls newFailingCacheStorage()?
newFailingCacheStorage() is called by 8 function(s): TestCacheStorageDeleteError, TestCacheStorageGetError, TestCacheStorageSetError, Test_CacheInvalidExpiresStoredAsStale, Test_Cache_MaxBytes_DeletionFailureRestoresTracking, Test_Cache_RequestResponseDirectives, Test_Cache_VaryAndAuth, newContextRecorderStorage.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free