proxy

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCustomProxy added in v1.4.0

func GetCustomProxy(ul *url.URL, targetHost string, body []byte, httpsEnabled bool) (*httputil.ReverseProxy, error)

func MergeHost

func MergeHost(a, b string) string

Types

type Pool

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

func NewPool

func NewPool() *Pool

func (*Pool) Get

func (u *Pool) Get(ul *url.URL, targetHost string) (*httputil.ReverseProxy, error)

Jump to

Keyboard shortcuts

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