proxy

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package proxy implements HTTP request proxying.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

Repository proxies HTTP requests to upstream services.

func New

func New(client *http.Client) *Repository

New creates a proxy Repository with the given HTTP client.

func (*Repository) Do

func (r *Repository) Do(ctx context.Context, req *http.Request) (*http.Response, error)

Do sends an HTTP request through the proxy.

Jump to

Keyboard shortcuts

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