secureRequestDump() — gin Function Reference
Architecture documentation for the secureRequestDump() function in recovery.go from the gin codebase.
Entity Profile
Dependency Diagram
graph TD a2e61019_cf3e_6a6e_97bf_9701f33cd17f["secureRequestDump()"] b2655a63_5a3e_56ca_c0dd_550d7efec3e6["recovery.go"] a2e61019_cf3e_6a6e_97bf_9701f33cd17f -->|defined in| b2655a63_5a3e_56ca_c0dd_550d7efec3e6 9b707d02_bf2d_b689_b041_4d275fda4cdd["CustomRecoveryWithWriter()"] 9b707d02_bf2d_b689_b041_4d275fda4cdd -->|calls| a2e61019_cf3e_6a6e_97bf_9701f33cd17f style a2e61019_cf3e_6a6e_97bf_9701f33cd17f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
recovery.go lines 98–107
func secureRequestDump(r *http.Request) string {
httpRequest, _ := httputil.DumpRequest(r, false)
lines := strings.Split(bytesconv.BytesToString(httpRequest), "\r\n")
for i, line := range lines {
if strings.HasPrefix(line, "Authorization:") {
lines[i] = "Authorization: *"
}
}
return strings.Join(lines, "\r\n")
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does secureRequestDump() do?
secureRequestDump() is a function in the gin codebase, defined in recovery.go.
Where is secureRequestDump() defined?
secureRequestDump() is defined in recovery.go at line 98.
What calls secureRequestDump()?
secureRequestDump() is called by 1 function(s): CustomRecoveryWithWriter.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free