picophttp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 7 Imported by: 8

Documentation

Index

Constants

View Source
const PiCoPHeaderContextKey piCoPHeaderContextKeyType = iota

Variables

This section is empty.

Functions

func ConnContext

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

Types

type Handler

type Handler struct {
	http.Handler
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(hl http.Handler, prop otelprop.TextMapPropagator) Handler

func (Handler) ServeHTTP

func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Transport

type Transport struct {
	*http.Transport
	// contains filtered or unexported fields
}

func NewTransport

func NewTransport(base *http.Transport, propagator otelprop.TextMapPropagator) Transport

Jump to

Keyboard shortcuts

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