Context — gin Architecture
Simplified handling of request headers, parameters, and flow control
Entity Profile
Dependency Diagram
graph TD subdomain_GinCore_Context["Context"] ef0ce555_e7e9_3369_e666_6c8470156eda["test_helpers.go"] subdomain_GinCore_Context --> ef0ce555_e7e9_3369_e666_6c8470156eda fa0cdbd7_ab43_fdb7_04e2_ac002df4c609["context_file_test.go"] subdomain_GinCore_Context --> fa0cdbd7_ab43_fdb7_04e2_ac002df4c609 398b55d7_fb3d_f0b1_0d9b_4320c9465632["context_appengine.go"] subdomain_GinCore_Context --> 398b55d7_fb3d_f0b1_0d9b_4320c9465632 22068897_9e6c_d28e_6b96_439ffa67fe6e["gin.go"] subdomain_GinCore_Context --> 22068897_9e6c_d28e_6b96_439ffa67fe6e 076d326a_acfa_c808_1141_d1324fc6e43a["gin_integration_test.go"] subdomain_GinCore_Context --> 076d326a_acfa_c808_1141_d1324fc6e43a ebe0ae48_a62b_a38f_5bac_5bbbd96fc508["context_test.go"] subdomain_GinCore_Context --> ebe0ae48_a62b_a38f_5bac_5bbbd96fc508 45929e18_70ca_7c55_01e0_596be99dd824["routes_test.go"] subdomain_GinCore_Context --> 45929e18_70ca_7c55_01e0_596be99dd824 c22deef8_5218_863f_341c_441bf58f550e["context.go"] subdomain_GinCore_Context --> c22deef8_5218_863f_341c_441bf58f550e style subdomain_GinCore_Context fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Domain
Functions
- BenchmarkGetMapFromFormData()
- Context()
- CreateTestContext()
- CreateTestContextOnly()
- CreateTestResponseRecorder()
- PerformRequest()
- TestConcurrentHandleContext()
- TestContextAbortWithError()
- TestContextAbortWithStatus()
- TestContextAbortWithStatusJSON()
- TestContextAbortWithStatusPureJSON()
- TestContextAddParam()
- TestContextAutoBindJSON()
- TestContextAutoShouldBindJSON()
- TestContextBadAutoBind()
- TestContextBadAutoShouldBind()
- TestContextBindHeader()
- TestContextBindPlain()
- TestContextBindRequestTooLarge()
- TestContextBindWithJSON()
- TestContextBindWithQuery()
- TestContextBindWithTOML()
- TestContextBindWithXML()
- TestContextBindWithYAML()
- TestContextBodyAllowedForStatus()
- TestContextClientIP()
- TestContextClientIPWithMultipleHeaders()
- TestContextClientIPWithSingleHeader()
- TestContextContentType()
- TestContextCopy()
- TestContextCopyShouldNotCancel()
- TestContextDefaultQueryOnEmptyRequest()
- TestContextError()
- TestContextFile()
- TestContextFileNotFound()
- TestContextFileSimple()
- TestContextFormFile()
- TestContextFormFileFailed()
- TestContextGetCookie()
- TestContextGetDuration()
- TestContextGetError()
- TestContextGetErrorSlice()
- TestContextGetFloat32()
- TestContextGetFloat32Slice()
- TestContextGetFloat64()
- TestContextGetFloat64Slice()
- TestContextGetInt()
- TestContextGetInt16()
- TestContextGetInt16Slice()
- TestContextGetInt32()
- TestContextGetInt32Slice()
- TestContextGetInt64()
- TestContextGetInt64Slice()
- TestContextGetInt8()
- TestContextGetInt8Slice()
- TestContextGetIntSlice()
- TestContextGetRawData()
- TestContextGetString()
- TestContextGetStringMap()
- TestContextGetStringMapString()
- TestContextGetStringMapStringSlice()
- TestContextGetStringSlice()
- TestContextGetTime()
- TestContextGetUint()
- TestContextGetUint16()
- TestContextGetUint16Slice()
- TestContextGetUint32()
- TestContextGetUint32Slice()
- TestContextGetUint64()
- TestContextGetUint64Slice()
- TestContextGetUint8()
- TestContextGetUint8Slice()
- TestContextGetUintSlice()
- TestContextGolangContext()
- TestContextHandler()
- TestContextHandlerName()
- TestContextHandlerNames()
- TestContextHandlers()
- TestContextHeaders()
- TestContextInitQueryCache()
- TestContextIsAborted()
- TestContextMultipartForm()
- TestContextNegotiationFormat()
- TestContextNegotiationFormat2()
- TestContextNegotiationFormatCustom()
- TestContextNegotiationFormatWithAccept()
- TestContextNegotiationFormatWithWildcardAccept()
- TestContextNegotiationNotSupport()
- TestContextNegotiationWithBSON()
- TestContextNegotiationWithHTML()
- TestContextNegotiationWithJSON()
- TestContextNegotiationWithPROTOBUF()
- TestContextNegotiationWithTOML()
- TestContextNegotiationWithXML()
- TestContextNegotiationWithYAML()
- TestContextNext()
- TestContextPostFormMultipart()
- TestContextQuery()
- TestContextQueryAndPostForm()
- TestContextRenderAPIJSON()
- TestContextRenderAndEscapeAttachment()
- TestContextRenderAttachment()
- TestContextRenderData()
- TestContextRenderDataFromReader()
- TestContextRenderDataFromReaderNoHeaders()
- TestContextRenderFile()
- TestContextRenderFileFromFS()
- TestContextRenderHTML()
- TestContextRenderHTML2()
- TestContextRenderHTMLString()
- TestContextRenderIfErr()
- TestContextRenderIndentedJSON()
- TestContextRenderJSON()
- TestContextRenderJSONP()
- TestContextRenderJSONPWithoutCallback()
- TestContextRenderNoContentAPIJSON()
- TestContextRenderNoContentAsciiJSON()
- TestContextRenderNoContentData()
- TestContextRenderNoContentHTML()
- TestContextRenderNoContentHTMLString()
- TestContextRenderNoContentIndentedJSON()
- TestContextRenderNoContentJSON()
- TestContextRenderNoContentSecureJSON()
- TestContextRenderNoContentString()
- TestContextRenderNoContentXML()
- TestContextRenderProtoBuf()
- TestContextRenderPureJSON()
- TestContextRenderRedirectAll()
- TestContextRenderRedirectWith201()
- TestContextRenderRedirectWithAbsolutePath()
- TestContextRenderRedirectWithRelativePath()
- TestContextRenderSSE()
- TestContextRenderSecureJSON()
- TestContextRenderString()
- TestContextRenderTOML()
- TestContextRenderUTF8Attachment()
- TestContextRenderXML()
- TestContextRenderYAML()
- TestContextReset()
- TestContextResetInHandler()
- TestContextSetCookie()
- TestContextSetCookieData()
- TestContextSetCookiePathEmpty()
- TestContextSetGet()
- TestContextSetGetAnyKey()
- TestContextSetGetBool()
- TestContextSetGetPanicsWhenKeyNotComparable()
- TestContextSetGetValues()
- TestContextShouldBindBodyWith()
- TestContextShouldBindBodyWithJSON()
- TestContextShouldBindBodyWithPlain()
- TestContextShouldBindBodyWithTOML()
- TestContextShouldBindBodyWithXML()
- TestContextShouldBindBodyWithYAML()
- TestContextShouldBindHeader()
- TestContextShouldBindPlain()
- TestContextShouldBindWithJSON()
- TestContextShouldBindWithQuery()
- TestContextShouldBindWithTOML()
- TestContextShouldBindWithXML()
- TestContextShouldBindWithYAML()
- TestContextStream()
- TestContextStreamWithClientGone()
- TestContextTypedError()
- TestContextWithFallbackDeadlineFromRequestContext()
- TestContextWithFallbackDoneFromRequestContext()
- TestContextWithFallbackErrFromRequestContext()
- TestContextWithFallbackValueFromRequestContext()
- TestContextWithKeysMutex()
- TestCreateTestContextWithRouteParams()
- TestEngineHandleContext()
- TestEngineHandleContextManyReEntries()
- TestGetMapFromFormData()
- TestGetRequestHeaderValue()
- TestHasRequestContext()
- TestInterceptedHeader()
- TestListOfRoutes()
- TestRaceContextCopy()
- TestRaceParamsContextCopy()
- TestRemoteIPFail()
- TestResponseWriterWriteHeadersNow()
- TestSaveUploadedCreateFailed()
- TestSaveUploadedFileWithPermission()
- TestSaveUploadedFileWithPermissionFailed()
- TestSaveUploadedOpenFailed()
- TestSetGetDelete()
- TestWebsocketsRequired()
- bodyAllowedForStatus()
- createMultipartRequest()
- escapeQuotes()
- getMapFromFormData()
- getTyped()
- handlerNameTest()
- handlerNameTest2()
- init()
- must()
- nameOfFunction()
- redirectRequest()
- resetContextForClientIPTests()
- runRequest()
- testRequest()
Source Files
Source
Frequently Asked Questions
What is the Context subdomain?
Context is a subdomain in the gin codebase, part of the GinCore domain. Simplified handling of request headers, parameters, and flow control It contains 8 source files.
Which domain does Context belong to?
Context belongs to the GinCore domain.
What functions are in Context?
The Context subdomain contains 201 function(s): BenchmarkGetMapFromFormData, Context, CreateTestContext, CreateTestContextOnly, CreateTestResponseRecorder, PerformRequest, TestConcurrentHandleContext, TestContextAbortWithError, and 193 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free