httptrace

package
v0.0.0-...-fab57c2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package httptrace provides a mockable wrapper for net/http/httptrace.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

type Impl struct{}

func (*Impl) ContextClientTrace

func (*Impl) ContextClientTrace(ctx context.Context) *httptrace.ClientTrace

func (*Impl) WithClientTrace

func (*Impl) WithClientTrace(ctx context.Context, trace *httptrace.ClientTrace) context.Context

type Interface

type Interface interface {
	ContextClientTrace(ctx context.Context) *httptrace.ClientTrace
	WithClientTrace(ctx context.Context, trace *httptrace.ClientTrace) context.Context
}

Jump to

Keyboard shortcuts

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