proxy

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProxy

func NewProxy(cfg Config) (*httputil.ReverseProxy, error)

Types

type Config added in v0.0.11

type Config struct {
	Transport      http.RoundTripper
	RoutePattern   string
	IsNamespaced   bool
	Namespace      string
	RewritePattern config.Nullable[string]
	Backends       []config.Backend
	BufferPool     httputil.BufferPool
}

Jump to

Keyboard shortcuts

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