Help us shape the future of Go! Take the 2026 Go Developer Survey

httpproxy

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 License: GPL-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 Proxy

type Proxy map[string]*store

Proxy definition

func New

func New(cfg ProxyConfig) *Proxy

NewProxy allocates a new http proxy from its configuration

func (*Proxy) RegisterRoutes

func (proxy *Proxy) RegisterRoutes(mux *http.ServeMux, prefix string, skipLogs bool)

RegisterRoutes for the proxy store/retrieve

type ProxyConfig

type ProxyConfig map[string]storeConfig

ProxyConfig definition

Jump to

Keyboard shortcuts

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