CreateTestResponseRecorder() — gin Function Reference
Architecture documentation for the CreateTestResponseRecorder() function in context_test.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 645c655a_dc18_fccd_ada0_7323c93f1406["CreateTestResponseRecorder()"] ebe0ae48_a62b_a38f_5bac_5bbbd96fc508["context_test.go"] 645c655a_dc18_fccd_ada0_7323c93f1406 -->|defined in| ebe0ae48_a62b_a38f_5bac_5bbbd96fc508 da7e00db_34ed_6aba_d337_0bc558b7182e["TestContextStream()"] da7e00db_34ed_6aba_d337_0bc558b7182e -->|calls| 645c655a_dc18_fccd_ada0_7323c93f1406 2936e0c0_738b_edcb_6a7c_d45f00fa748d["TestContextStreamWithClientGone()"] 2936e0c0_738b_edcb_6a7c_d45f00fa748d -->|calls| 645c655a_dc18_fccd_ada0_7323c93f1406 43234c68_2fb2_8a55_1147_9095a9d1155b["TestContextResetInHandler()"] 43234c68_2fb2_8a55_1147_9095a9d1155b -->|calls| 645c655a_dc18_fccd_ada0_7323c93f1406 style 645c655a_dc18_fccd_ada0_7323c93f1406 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
context_test.go lines 2999–3004
func CreateTestResponseRecorder() *TestResponseRecorder {
return &TestResponseRecorder{
httptest.NewRecorder(),
make(chan bool, 1),
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does CreateTestResponseRecorder() do?
CreateTestResponseRecorder() is a function in the gin codebase, defined in context_test.go.
Where is CreateTestResponseRecorder() defined?
CreateTestResponseRecorder() is defined in context_test.go at line 2999.
What calls CreateTestResponseRecorder()?
CreateTestResponseRecorder() is called by 3 function(s): TestContextResetInHandler, TestContextStream, TestContextStreamWithClientGone.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free