client

package
v0.0.0-...-b774c2b Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Client *http.Client
	Ctx    context.Context
	Cache  *godistcache.Cache
}

The client object holds the request context and the HTTP Client. This is designed to increase telemetry visibility.

func New

func New(ctx context.Context, otel bool) (*Client, error)

Constructor - You *shouldn't* be using this

Jump to

Keyboard shortcuts

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