proxy

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProxyHandler

func NewProxyHandler(config *config.Proxy) http.Handler

func RewriteFullFunc

func RewriteFullFunc(url *url.URL) func(r *httputil.ProxyRequest)

func RewriteHostFunc

func RewriteHostFunc(url *url.URL) func(r *httputil.ProxyRequest)

Types

type Event

type Event struct {
	Event string
	Data  string
	ID    string
	Retry string
}

func (*Event) Bytes

func (e *Event) Bytes() []byte

Jump to

Keyboard shortcuts

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