Home / Function/ newFailingCSRFStorage() — fiber Function Reference

newFailingCSRFStorage() — fiber Function Reference

Architecture documentation for the newFailingCSRFStorage() function in csrf_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  cf660e8c_1aed_dfd6_9b61_993899db83b5["newFailingCSRFStorage()"]
  306a0c68_f5a5_b368_f37a_1419425a8fea["csrf_test.go"]
  cf660e8c_1aed_dfd6_9b61_993899db83b5 -->|defined in| 306a0c68_f5a5_b368_f37a_1419425a8fea
  50cabb0b_0641_86c0_2a0f_12278c349655["TestCSRFStorageGetError()"]
  50cabb0b_0641_86c0_2a0f_12278c349655 -->|calls| cf660e8c_1aed_dfd6_9b61_993899db83b5
  e4282b9b_f3b6_39df_b096_edca2387c70e["TestCSRFStorageSetError()"]
  e4282b9b_f3b6_39df_b096_edca2387c70e -->|calls| cf660e8c_1aed_dfd6_9b61_993899db83b5
  68aef46d_122e_76ff_bc1d_600a3e41483a["TestCSRFStorageDeleteError()"]
  68aef46d_122e_76ff_bc1d_600a3e41483a -->|calls| cf660e8c_1aed_dfd6_9b61_993899db83b5
  style cf660e8c_1aed_dfd6_9b61_993899db83b5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

middleware/csrf/csrf_test.go lines 26–31

func newFailingCSRFStorage() *failingCSRFStorage {
	return &failingCSRFStorage{
		data: make(map[string][]byte),
		errs: make(map[string]error),
	}
}

Subdomains

Frequently Asked Questions

What does newFailingCSRFStorage() do?
newFailingCSRFStorage() is a function in the fiber codebase, defined in middleware/csrf/csrf_test.go.
Where is newFailingCSRFStorage() defined?
newFailingCSRFStorage() is defined in middleware/csrf/csrf_test.go at line 26.
What calls newFailingCSRFStorage()?
newFailingCSRFStorage() is called by 3 function(s): TestCSRFStorageDeleteError, TestCSRFStorageGetError, TestCSRFStorageSetError.

Analyze Your Own Codebase

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

Try Supermodel Free