ginctx

package
v0.5.15 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: MIT Imports: 4 Imported by: 4

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 added in v0.2.0

type RequestCtx struct {
	*gin.Context
}

func (RequestCtx) Origin added in v0.3.3

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

func (RequestCtx) RequestContext added in v0.3.0

func (ctx RequestCtx) RequestContext() context.Context

func (RequestCtx) RequestHeader added in v0.2.8

func (ctx RequestCtx) RequestHeader() httpx.Header

Jump to

Keyboard shortcuts

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