hyperhttp

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(base http.Handler, operation string, opts ...Option) http.Handler

NewHandler wraps the passed handler, functioning like middleware.

func NewTransport

func NewTransport(base http.RoundTripper) http.RoundTripper

NewTransport wraps the provided http.RoundTripper with one that starts a span and injects the span context into the outbound request headers.

Types

type Option added in v0.5.0

type Option func(o *options)

func WithFilter added in v0.5.0

func WithFilter(f filter.Filter) Option

Jump to

Keyboard shortcuts

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