conncontext

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package conncontext stores and retrieves net.Conn from context.

Index

Constants

This section is empty.

Variables

View Source
var ConnKey = key("http-conn")

Functions

func GetConn

func GetConn(r *http.Request) net.Conn

func SaveConn

func SaveConn(ctx context.Context, c net.Conn) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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