target

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContext

func NewContext(ctx context.Context, value Collection) context.Context

Types

type Collection

type Collection []Endpoint

func FromContext

func FromContext(ctx context.Context) Collection

type Endpoint

type Endpoint struct {
	Hostname string
	Client   *http.Client
}

An endpoint is a hostname and a suitable http client

Jump to

Keyboard shortcuts

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