proxycontext

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConnContext

func GetConnContext(ctx context.Context) (*conn.Context, bool)

GetConnContext retrieves the connection context from the given context.

func GetProxyRequest

func GetProxyRequest(ctx context.Context) (*http.Request, bool)

GetProxyRequest retrieves the original proxy request from the given context.

func WithConnContext

func WithConnContext(ctx context.Context, connCtx *conn.Context) context.Context

WithConnContext adds a connection context to the given context.

func WithProxyRequest

func WithProxyRequest(ctx context.Context, req *http.Request) context.Context

WithProxyRequest adds the original proxy request to the given context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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