Home / Function/ fakeHandler() — gin Function Reference

fakeHandler() — gin Function Reference

Architecture documentation for the fakeHandler() function in tree_test.go from the gin codebase.

Function go CoreEngine Routing called by 14

Entity Profile

Dependency Diagram

graph TD
  6dab8d3e_0986_1500_b06f_6323ea7ce91a["fakeHandler()"]
  aa254bda_b8d1_b709_bc93_33aa96dd90b9["TestTreeAddAndGet()"]
  aa254bda_b8d1_b709_bc93_33aa96dd90b9 -->|calls| 6dab8d3e_0986_1500_b06f_6323ea7ce91a
  60507826_468f_df35_c1a4_42fc41f80447["TestTreeWildcard()"]
  60507826_468f_df35_c1a4_42fc41f80447 -->|calls| 6dab8d3e_0986_1500_b06f_6323ea7ce91a
  91666376_8358_aa4b_d0cb_bcada4198cd7["TestUnescapeParameters()"]
  91666376_8358_aa4b_d0cb_bcada4198cd7 -->|calls| 6dab8d3e_0986_1500_b06f_6323ea7ce91a
  94c973a8_1f98_3d53_d6fb_d29a986ecc6c["TestTreeDuplicatePath()"]
  94c973a8_1f98_3d53_d6fb_d29a986ecc6c -->|calls| 6dab8d3e_0986_1500_b06f_6323ea7ce91a
  92b9405b_9ea2_1a22_6734_28b770849f38["TestTreeCatchMaxParams()"]
  92b9405b_9ea2_1a22_6734_28b770849f38 -->|calls| 6dab8d3e_0986_1500_b06f_6323ea7ce91a
  0eb870f4_381f_fe31_be50_10a3af90c78b["TestTreeTrailingSlashRedirect()"]
  0eb870f4_381f_fe31_be50_10a3af90c78b -->|calls| 6dab8d3e_0986_1500_b06f_6323ea7ce91a
  88232784_e360_10cf_0f68_76f67233eaa8["TestTreeRootTrailingSlashRedirect()"]
  88232784_e360_10cf_0f68_76f67233eaa8 -->|calls| 6dab8d3e_0986_1500_b06f_6323ea7ce91a
  e5f64959_8ad6_b041_98c5_ae4eb2d5a6f1["TestRedirectTrailingSlash()"]
  e5f64959_8ad6_b041_98c5_ae4eb2d5a6f1 -->|calls| 6dab8d3e_0986_1500_b06f_6323ea7ce91a
  856a536c_c65f_dbf9_a783_b334b3e8a948["TestTreeFindCaseInsensitivePath()"]
  856a536c_c65f_dbf9_a783_b334b3e8a948 -->|calls| 6dab8d3e_0986_1500_b06f_6323ea7ce91a
  e1e28f36_4494_d9a1_e5ae_c2d58ea0dca9["TestTreeInvalidNodeType()"]
  e1e28f36_4494_d9a1_e5ae_c2d58ea0dca9 -->|calls| 6dab8d3e_0986_1500_b06f_6323ea7ce91a
  57506f91_b69c_cd4c_c8a3_1f44116680e2["TestTreeInvalidParamsType()"]
  57506f91_b69c_cd4c_c8a3_1f44116680e2 -->|calls| 6dab8d3e_0986_1500_b06f_6323ea7ce91a
  a9d3c43e_89ab_7933_bf86_4bcd62fe8a4e["TestTreeExpandParamsCapacity()"]
  a9d3c43e_89ab_7933_bf86_4bcd62fe8a4e -->|calls| 6dab8d3e_0986_1500_b06f_6323ea7ce91a
  0a9e6c66_a802_76fb_d8a7_111bca5b1cc5["TestTreeWildcardConflictEx()"]
  0a9e6c66_a802_76fb_d8a7_111bca5b1cc5 -->|calls| 6dab8d3e_0986_1500_b06f_6323ea7ce91a
  1a8a69c1_000a_e2df_731d_2e181334dcdb["TestTreeInvalidEscape()"]
  1a8a69c1_000a_e2df_731d_2e181334dcdb -->|calls| 6dab8d3e_0986_1500_b06f_6323ea7ce91a
  style 6dab8d3e_0986_1500_b06f_6323ea7ce91a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tree_test.go lines 18–22

func fakeHandler(val string) HandlersChain {
	return HandlersChain{func(c *Context) {
		fakeHandlerValue = val
	}}
}

Domain

Subdomains

Frequently Asked Questions

What does fakeHandler() do?
fakeHandler() is a function in the gin codebase.
What calls fakeHandler()?
fakeHandler() is called by 14 function(s): TestRedirectTrailingSlash, TestTreeAddAndGet, TestTreeCatchMaxParams, TestTreeDuplicatePath, TestTreeExpandParamsCapacity, TestTreeFindCaseInsensitivePath, TestTreeInvalidEscape, TestTreeInvalidNodeType, and 6 more.

Analyze Your Own Codebase

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

Try Supermodel Free