handle() — gin Function Reference
Architecture documentation for the handle() function in routergroup.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD 018f1037_5a3b_d88a_c8ba_70efaa627f40["handle()"] 94ea8ab0_ec18_9b58_6904_6d8216b5e62f["Handle()"] 94ea8ab0_ec18_9b58_6904_6d8216b5e62f -->|calls| 018f1037_5a3b_d88a_c8ba_70efaa627f40 81db5d67_fba6_7bc4_bf69_a680f4f588fe["POST()"] 81db5d67_fba6_7bc4_bf69_a680f4f588fe -->|calls| 018f1037_5a3b_d88a_c8ba_70efaa627f40 619f6c2d_3386_9b29_de8d_037296f038a4["GET()"] 619f6c2d_3386_9b29_de8d_037296f038a4 -->|calls| 018f1037_5a3b_d88a_c8ba_70efaa627f40 55de82ea_29e9_8fb8_4c09_8cfa523e46a6["DELETE()"] 55de82ea_29e9_8fb8_4c09_8cfa523e46a6 -->|calls| 018f1037_5a3b_d88a_c8ba_70efaa627f40 8a607924_35c5_11ae_3763_f9937c32d20e["PATCH()"] 8a607924_35c5_11ae_3763_f9937c32d20e -->|calls| 018f1037_5a3b_d88a_c8ba_70efaa627f40 3ca373a0_f1cc_fe2f_5d1f_35e60098ec9a["PUT()"] 3ca373a0_f1cc_fe2f_5d1f_35e60098ec9a -->|calls| 018f1037_5a3b_d88a_c8ba_70efaa627f40 db5234f8_51f2_9f51_c5e5_7eb61e878971["OPTIONS()"] db5234f8_51f2_9f51_c5e5_7eb61e878971 -->|calls| 018f1037_5a3b_d88a_c8ba_70efaa627f40 2125b88b_3183_7da9_011d_68f851020f27["HEAD()"] 2125b88b_3183_7da9_011d_68f851020f27 -->|calls| 018f1037_5a3b_d88a_c8ba_70efaa627f40 3214edc6_dc5a_94e7_2823_5913a3222fd1["Any()"] 3214edc6_dc5a_94e7_2823_5913a3222fd1 -->|calls| 018f1037_5a3b_d88a_c8ba_70efaa627f40 94ed79e1_5b35_a5de_5dbb_31c84d8e5f90["Match()"] 94ed79e1_5b35_a5de_5dbb_31c84d8e5f90 -->|calls| 018f1037_5a3b_d88a_c8ba_70efaa627f40 cbe58699_430c_c923_47a5_d8708be7f7ab["calculateAbsolutePath()"] 018f1037_5a3b_d88a_c8ba_70efaa627f40 -->|calls| cbe58699_430c_c923_47a5_d8708be7f7ab 47e23f5d_8954_660c_7ac2_9d1157a06909["combineHandlers()"] 018f1037_5a3b_d88a_c8ba_70efaa627f40 -->|calls| 47e23f5d_8954_660c_7ac2_9d1157a06909 6a02d456_ea59_53ed_7657_d6ad4ce99bca["returnObj()"] 018f1037_5a3b_d88a_c8ba_70efaa627f40 -->|calls| 6a02d456_ea59_53ed_7657_d6ad4ce99bca style 018f1037_5a3b_d88a_c8ba_70efaa627f40 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
routergroup.go lines 86–91
func (group *RouterGroup) handle(httpMethod, relativePath string, handlers HandlersChain) IRoutes {
absolutePath := group.calculateAbsolutePath(relativePath)
handlers = group.combineHandlers(handlers)
group.engine.addRoute(httpMethod, absolutePath, handlers)
return group.returnObj()
}
Domain
Subdomains
Source
Frequently Asked Questions
What does handle() do?
handle() is a function in the gin codebase.
What does handle() call?
handle() calls 3 function(s): calculateAbsolutePath, combineHandlers, returnObj.
What calls handle()?
handle() is called by 10 function(s): Any, DELETE, GET, HEAD, Handle, Match, OPTIONS, PATCH, and 2 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free