proxy

package
v0.0.0-...-220f638 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReverseProxy

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

func New

func New(cfg *config.Config) (*ReverseProxy, error)

func (*ReverseProxy) ProxyMap

func (p *ReverseProxy) ProxyMap() iter.Seq2[string, *url.URL]

func (*ReverseProxy) ServeHTTP

func (p *ReverseProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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