Context — gin Architecture
Carries request-scoped deadlines, signals, and values
Entity Profile
Relationship Graph
Domain
Functions
- Abort()
- AbortWithError()
- AbortWithStatus()
- AbortWithStatusJSON()
- AbortWithStatusPureJSON()
- AddParam()
- AsciiJSON()
- BSON()
- BenchmarkGetMapFromFormData()
- Bind()
- BindHeader()
- BindJSON()
- BindPlain()
- BindQuery()
- BindTOML()
- BindUri()
- BindXML()
- BindYAML()
- ClientIP()
- CloseNotify()
- ContentType()
- Cookie()
- Copy()
- CreateTestContext()
- CreateTestContextOnly()
- CreateTestResponseRecorder()
- Data()
- DataFromReader()
- Deadline()
- DefaultPostForm()
- DefaultQuery()
- Delete()
- Done()
- Err()
- Error()
- File()
- FileAttachment()
- FileFromFS()
- FormFile()
- FullPath()
- Get()
- GetBool()
- GetDuration()
- GetError()
- GetErrorSlice()
- GetFloat32()
- GetFloat32Slice()
- GetFloat64()
- GetFloat64Slice()
- GetHeader()
- GetInt()
- GetInt16()
- GetInt16Slice()
- GetInt32()
- GetInt32Slice()
- GetInt64()
- GetInt64Slice()
- GetInt8()
- GetInt8Slice()
- GetIntSlice()
- GetPostForm()
- GetPostFormArray()
- GetPostFormMap()
- GetQuery()
- GetQueryArray()
- GetQueryMap()
- GetRawData()
- GetString()
- GetStringMap()
- GetStringMapString()
- GetStringMapStringSlice()
- GetStringSlice()
- GetTime()
- GetUint()
- GetUint16()
- GetUint16Slice()
- GetUint32()
- GetUint32Slice()
- GetUint64()
- GetUint64Slice()
- GetUint8()
- GetUint8Slice()
- GetUintSlice()
- HTML()
- HandleContext()
- Handler()
- HandlerName()
- HandlerNames()
- Header()
- IndentedJSON()
- IsAborted()
- IsWebsocket()
- JSON()
- JSONP()
- MultipartForm()
- MustBindWith()
- MustGet()
- Negotiate()
- NegotiateFormat()
- Next()
- Param()
- PostForm()
- PostFormArray()
- PostFormMap()
- ProtoBuf()
- PureJSON()
- Query()
- QueryArray()
- QueryMap()
- Redirect()
- RemoteIP()
- Render()
- Render()
- SSEvent()
- SaveUploadedFile()
- SecureJSON()
- Set()
- SetAccepted()
- SetCookie()
- SetCookieData()
- SetSameSite()
- ShouldBind()
- ShouldBindBodyWith()
- ShouldBindBodyWithJSON()
- ShouldBindBodyWithPlain()
- ShouldBindBodyWithTOML()
- ShouldBindBodyWithXML()
- ShouldBindBodyWithYAML()
- ShouldBindHeader()
- ShouldBindJSON()
- ShouldBindPlain()
- ShouldBindQuery()
- ShouldBindTOML()
- ShouldBindUri()
- ShouldBindWith()
- ShouldBindXML()
- ShouldBindYAML()
- Status()
- Stream()
- String()
- TOML()
- 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()
- TestEngineHandleContextUseEscapedPathOverride()
- TestEngineHandleContextUseEscapedPathPercentEncoded()
- TestEngineHandleContextUseRawPathPercentEncoded()
- TestGetMapFromFormData()
- TestGetRequestHeaderValue()
- TestHasRequestContext()
- TestInterceptedHeader()
- TestRaceContextCopy()
- TestRaceParamsContextCopy()
- TestRemoteIPFail()
- TestRouteContextHoldsFullPath()
- TestSaveUploadedCreateFailed()
- TestSaveUploadedFileWithPermission()
- TestSaveUploadedFileWithPermissionFailed()
- TestSaveUploadedOpenFailed()
- TestSetGetDelete()
- TestWebsocketsRequired()
- Value()
- WriteContentType()
- WriteHeader()
- XML()
- YAML()
- allocateContext()
- bodyAllowedForStatus()
- closeClient()
- createMultipartRequest()
- escapeQuotes()
- getMapFromFormData()
- getTyped()
- handlerNameTest()
- handlerNameTest2()
- hasRequestContext()
- init()
- initFormCache()
- initQueryCache()
- must()
- requestHeader()
- reset()
- resetContextForClientIPTests()
Frequently Asked Questions
What is the Context subdomain?
Context is a subdomain in the gin codebase, part of the CoreEngine domain. Carries request-scoped deadlines, signals, and values It contains 0 source files.
Which domain does Context belong to?
Context belongs to the CoreEngine domain.
What functions are in Context?
The Context subdomain contains 346 function(s): Abort, AbortWithError, AbortWithStatus, AbortWithStatusJSON, AbortWithStatusPureJSON, AddParam, AsciiJSON, BSON, and 338 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free