ginctx

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2025 License: MIT, Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context = reqctx.Context[RequestCtx]

func FromRequest

func FromRequest(req *gin.Context) *Context

type RequestCtx

type RequestCtx struct {
	*gin.Context
}

func (RequestCtx) Origin

func (ctx RequestCtx) Origin() *gin.Context

func (RequestCtx) RequestContext

func (ctx RequestCtx) RequestContext() context.Context

func (RequestCtx) RequestHeader

func (ctx RequestCtx) RequestHeader() httpx.Header

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL