http

package
v1.3.19 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapClient

func WrapClient(c *http.Client, tracer aitracer.Tracer, opts ...Option) *http.Client

Types

type Config added in v1.3.0

type Config struct {
	// contains filtered or unexported fields
}

type Option added in v1.3.0

type Option func(*Config)

func WithClientResourceGetter added in v1.3.16

func WithClientResourceGetter(f func(req *http.Request) string) Option

func WithClientServiceGetter added in v1.3.0

func WithClientServiceGetter(f func(req *http.Request) string) Option

func WithClientServiceType added in v1.3.11

func WithClientServiceType(svcType string) Option

func WithOperation added in v1.3.11

func WithOperation(op string) Option

func WithTagsExtractor added in v1.3.11

func WithTagsExtractor(f func(req *http.Request) map[string]string) Option

Jump to

Keyboard shortcuts

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