httpctx

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 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 FromContext

func FromContext(ctx context.Context) (*Context, bool)

func FromRequest

func FromRequest(req RequestCtx) *Context

type RequestCtx

type RequestCtx struct {
	*http.Request
	http.ResponseWriter
}

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